Skip to content

Commit

Permalink
missing await in test, corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfitz committed May 13, 2024
1 parent e92239b commit 90e9d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/nbrowser/Boot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ describe('Boot', function() {

async function hasPrompt() {
// There is some glitchiness to when the text appears.
gu.waitToPass(async () => {
await assert.include(
await gu.waitToPass(async () => {
assert.include(
await driver.findContentWait('pre', /GRIST_BOOT_KEY/, 2000).getText(),
'GRIST_BOOT_KEY=secret');
}, 3000);
Expand Down

0 comments on commit 90e9d19

Please sign in to comment.