Skip to content

Commit

Permalink
tests: fix fs.writeFileSync() crash on node 14
Browse files Browse the repository at this point in the history
Fix #666
  • Loading branch information
isaacs committed May 7, 2020
1 parent 23fc012 commit 16331a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: node_js

node_js:
# 14 disabled per https://github.com/tapjs/node-tap/issues/666
- 13
- "node"
- 14
- 12
- 10
- 8
Expand Down
4 changes: 2 additions & 2 deletions test/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ t.test('clear', t => {
t.test('completer', t => {
mkdirp('test/foo')
mkdirp('temp/orary')
fs.writeFileSync('test/foo/bar.js')
fs.writeFileSync('test/follow.js')
fs.writeFileSync('test/foo/bar.js', '')
fs.writeFileSync('test/follow.js', '')
const tests = [
'',
'ex',
Expand Down

0 comments on commit 16331a9

Please sign in to comment.