Skip to content

Commit

Permalink
add waitiing time
Browse files Browse the repository at this point in the history
  • Loading branch information
HaidarJbeily7 committed Nov 3, 2024
1 parent 8de505c commit c2a600c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eo2js/test/commands/transpile.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ describe('transpile', function() {
transpile()
const transpiled = path.resolve(target, '8-transpile/com/eo2js/simple.xmir')
const firstModified = fs.statSync(transpiled).mtime
const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));

Check failure on line 86 in eo2js/test/commands/transpile.test.js

View workflow job for this annotation

GitHub Actions / build (macos-latest, 16)

Expected parentheses around arrow function argument
wait(100);
transpile()
const secondModified = fs.statSync(transpiled).mtime
assert.notEqual(firstModified.getTime(), secondModified.getTime())
Expand Down

0 comments on commit c2a600c

Please sign in to comment.