diff options
author | Steven Guerrero <stephenguerrero43@gmail.com> | 2021-12-30 11:18:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 17:18:30 +0100 |
commit | 39a6c94071ee93642196f1a1952a05b125a55c5c (patch) | |
tree | 83775cc34a542230affbc9e3ac647fba03473a2d /cli/tests/testdata/compat/test_runner/cjs.js | |
parent | 1adf8ee54529b4e754d4f0513cc7763b3db54199 (diff) |
feat(test): Add support for "deno test --compat" (#13235)
Diffstat (limited to 'cli/tests/testdata/compat/test_runner/cjs.js')
-rw-r--r-- | cli/tests/testdata/compat/test_runner/cjs.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/testdata/compat/test_runner/cjs.js b/cli/tests/testdata/compat/test_runner/cjs.js new file mode 100644 index 000000000..96a1b5112 --- /dev/null +++ b/cli/tests/testdata/compat/test_runner/cjs.js @@ -0,0 +1,9 @@ +const { strictEqual } = require("assert"); + +Deno.test("Correct assertion", () => { + strictEqual(20, 20); +}); + +Deno.test("Failed assertion", () => { + strictEqual(10, 20); +}); |