diff --git a/fs-extra/fs-extra-tests.ts b/fs-extra/fs-extra-tests.ts index ea3432e1cf..939821b6da 100644 --- a/fs-extra/fs-extra-tests.ts +++ b/fs-extra/fs-extra-tests.ts @@ -145,9 +145,9 @@ fs.readdir(path, (err: Error, files: string[]) => { strArr = fs.readdirSync(path); fs.close(fd, errorCallback); fs.closeSync(fd); -fs.open(path, flags, modeStr, (err: Error, fd: number) => [ - -]); +fs.open(path, flags, modeStr, (err: Error, fd: number) => { + +}); num = fs.openSync(path, flags, modeStr); fs.utimes(path, atime, mtime, errorCallback); fs.utimesSync(path, atime, mtime);