Created
January 15, 2020 00:55
-
-
Save bcomnes/fc55f4e1a56a0e8dfad11a140e12d3d0 to your computer and use it in GitHub Desktop.
deno test error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
assertEquals, | |
runTests, | |
test | |
} from "https://deno.land/std/testing/mod.ts"; | |
test({ | |
name: "testing example", | |
fn() { | |
assertEquals("world", "world"); | |
assertEquals({ hello: "world" }, { hello: "world" }); | |
} | |
}); | |
runTests(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% deno test . --allow-env --allow-write --reload | |
Download https://deno.land/[email protected]/testing/runner.ts | |
Compile https://deno.land/[email protected]/testing/runner.ts | |
Download https://deno.land/[email protected]/flags/mod.ts | |
Download https://deno.land/[email protected]/fs/mod.ts | |
Download https://deno.land/[email protected]/path/mod.ts | |
Download https://deno.land/[email protected]/testing/mod.ts | |
Download https://deno.land/[email protected]/fs/empty_dir.ts | |
Download https://deno.land/[email protected]/fs/ensure_dir.ts | |
Download https://deno.land/[email protected]/fs/ensure_file.ts | |
Download https://deno.land/[email protected]/fs/ensure_link.ts | |
Download https://deno.land/[email protected]/fs/ensure_symlink.ts | |
Download https://deno.land/[email protected]/fs/exists.ts | |
Download https://deno.land/[email protected]/fs/expand_glob.ts | |
Download https://deno.land/[email protected]/fs/move.ts | |
Download https://deno.land/[email protected]/fs/copy.ts | |
Download https://deno.land/[email protected]/fs/read_file_str.ts | |
Download https://deno.land/[email protected]/fs/write_file_str.ts | |
Download https://deno.land/[email protected]/fs/read_json.ts | |
Download https://deno.land/[email protected]/fs/write_json.ts | |
Download https://deno.land/[email protected]/fs/walk.ts | |
Download https://deno.land/[email protected]/fs/eol.ts | |
Download https://deno.land/[email protected]/fs/utils.ts | |
Download https://deno.land/[email protected]/path/win32.ts | |
Download https://deno.land/[email protected]/path/posix.ts | |
Download https://deno.land/[email protected]/path/constants.ts | |
Download https://deno.land/[email protected]/path/constants.ts | |
Download https://deno.land/[email protected]/path/interface.ts | |
Download https://deno.land/[email protected]/path/glob.ts | |
Download https://deno.land/[email protected]/path/globrex.ts | |
Download https://deno.land/[email protected]/path/utils.ts | |
Download https://deno.land/[email protected]/testing/asserts.ts | |
Download https://deno.land/[email protected]/fmt/colors.ts | |
Download https://deno.land/[email protected]/testing/diff.ts | |
Download https://deno.land/[email protected]/testing/format.ts | |
Compile file:///Users/bret/Downloads/.deno.test.ts | |
Download https://deno.land/std/testing/mod.ts | |
Download https://deno.land/std/testing/asserts.ts | |
Download https://deno.land/std/testing/bench.ts | |
Download https://deno.land/std/testing/diff.ts | |
Download https://deno.land/std/testing/format.ts | |
Download https://deno.land/std/testing/runner.ts | |
Download https://deno.land/std/fmt/colors.ts | |
Download https://deno.land/std/testing/asserts.ts | |
Download https://deno.land/std/flags/mod.ts | |
Download https://deno.land/std/fs/mod.ts | |
Download https://deno.land/std/path/mod.ts | |
Download https://deno.land/std/fs/empty_dir.ts | |
Download https://deno.land/std/fs/ensure_dir.ts | |
Download https://deno.land/std/fs/ensure_file.ts | |
Download https://deno.land/std/fs/ensure_link.ts | |
Download https://deno.land/std/fs/ensure_symlink.ts | |
Download https://deno.land/std/fs/exists.ts | |
Download https://deno.land/std/fs/expand_glob.ts | |
Download https://deno.land/std/fs/move.ts | |
Download https://deno.land/std/fs/copy.ts | |
Download https://deno.land/std/fs/read_file_str.ts | |
Download https://deno.land/std/fs/write_file_str.ts | |
Download https://deno.land/std/fs/read_json.ts | |
Download https://deno.land/std/fs/write_json.ts | |
Download https://deno.land/std/fs/walk.ts | |
Download https://deno.land/std/fs/eol.ts | |
Download https://deno.land/std/path/win32.ts | |
Download https://deno.land/std/path/posix.ts | |
Download https://deno.land/std/path/constants.ts | |
Download https://deno.land/std/path/constants.ts | |
Download https://deno.land/std/path/interface.ts | |
Download https://deno.land/std/path/glob.ts | |
Download https://deno.land/std/path/globrex.ts | |
Download https://deno.land/std/path/utils.ts | |
Download https://deno.land/std/fs/utils.ts | |
error TS2345: Argument of type '{ recursive: boolean; }' is not assignable to parameter of type 'boolean'. | |
► https://deno.land/std/fs/empty_dir.ts:36:22 | |
36 await mkdir(dir, { recursive: true }); | |
~~~~~~~~~~~~~~~~~~~ | |
error TS2345: Argument of type '{ recursive: boolean; }' is not assignable to parameter of type 'boolean'. | |
► https://deno.land/std/fs/empty_dir.ts:64:20 | |
64 mkdirSync(dir, { recursive: true }); | |
~~~~~~~~~~~~~~~~~~~ | |
error TS2345: Argument of type '{ recursive: boolean; }' is not assignable to parameter of type 'boolean'. | |
► https://deno.land/std/fs/ensure_dir.ts:21:24 | |
21 await mkdir(dir, { recursive: true }); | |
~~~~~~~~~~~~~~~~~~~ | |
error TS2345: Argument of type '{ recursive: boolean; }' is not assignable to parameter of type 'boolean'. | |
► https://deno.land/std/fs/ensure_dir.ts:44:22 | |
44 mkdirSync(dir, { recursive: true }); | |
~~~~~~~~~~~~~~~~~~~ | |
Found 4 errors. | |
?1 Downloads % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment