Skip to content

Commit

Permalink
fix(value): add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Jan 31, 2020
1 parent 2ed6fcc commit bb670f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assertions/value.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function value(client, chai, utils, options) {

if (!immediately) {
try {
client.waitUntil(
await client.waitUntil(
async () =>
(await doesOneElementHaveValue(client, selector, expected)).result,
config.defaultWait
Expand Down

0 comments on commit bb670f7

Please sign in to comment.