summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/compat/test_runner/esm.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/compat/test_runner/esm.mjs')
-rw-r--r--cli/tests/testdata/compat/test_runner/esm.mjs9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/testdata/compat/test_runner/esm.mjs b/cli/tests/testdata/compat/test_runner/esm.mjs
new file mode 100644
index 000000000..54a9468a4
--- /dev/null
+++ b/cli/tests/testdata/compat/test_runner/esm.mjs
@@ -0,0 +1,9 @@
+import { strictEqual } from "assert";
+
+Deno.test("Correct assertion", () => {
+ strictEqual(20, 20);
+});
+
+Deno.test("Failed assertion", () => {
+ strictEqual(10, 20);
+});