summaryrefslogtreecommitdiff
path: root/std/node/tests/cjs
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/tests/cjs')
-rw-r--r--std/node/tests/cjs/cjs_a.js1
-rw-r--r--std/node/tests/cjs/cjs_b.js1
-rw-r--r--std/node/tests/cjs/cjs_builtin.js1
-rw-r--r--std/node/tests/cjs/cjs_cycle_a.js1
-rw-r--r--std/node/tests/cjs/cjs_cycle_b.js1
-rw-r--r--std/node/tests/cjs/cjs_throw.js1
-rw-r--r--std/node/tests/cjs/index.js1
-rw-r--r--std/node/tests/cjs/subdir/cjs_c.js1
8 files changed, 8 insertions, 0 deletions
diff --git a/std/node/tests/cjs/cjs_a.js b/std/node/tests/cjs/cjs_a.js
index b8f69c857..6295f3a14 100644
--- a/std/node/tests/cjs/cjs_a.js
+++ b/std/node/tests/cjs/cjs_a.js
@@ -1,3 +1,4 @@
+// deno-lint-ignore-file no-undef
/* eslint-disable */
const { helloB } = require("./cjs_b.js");
const C = require("./subdir/cjs_c");
diff --git a/std/node/tests/cjs/cjs_b.js b/std/node/tests/cjs/cjs_b.js
index 17499012c..2bbf75809 100644
--- a/std/node/tests/cjs/cjs_b.js
+++ b/std/node/tests/cjs/cjs_b.js
@@ -2,4 +2,5 @@ function helloB() {
return "B";
}
+// deno-lint-ignore no-undef
module.exports = { helloB };
diff --git a/std/node/tests/cjs/cjs_builtin.js b/std/node/tests/cjs/cjs_builtin.js
index d821d2558..3eae5dc59 100644
--- a/std/node/tests/cjs/cjs_builtin.js
+++ b/std/node/tests/cjs/cjs_builtin.js
@@ -1,3 +1,4 @@
+// deno-lint-ignore-file no-undef
/* eslint-disable */
const fs = require("fs");
const util = require("util");
diff --git a/std/node/tests/cjs/cjs_cycle_a.js b/std/node/tests/cjs/cjs_cycle_a.js
index 7a4e5a5f6..d73da20b9 100644
--- a/std/node/tests/cjs/cjs_cycle_a.js
+++ b/std/node/tests/cjs/cjs_cycle_a.js
@@ -1,3 +1,4 @@
+// deno-lint-ignore-file no-undef
module.exports = false;
require("./cjs_cycle_a");
module.exports = true;
diff --git a/std/node/tests/cjs/cjs_cycle_b.js b/std/node/tests/cjs/cjs_cycle_b.js
index d85a1fc84..bd18094ce 100644
--- a/std/node/tests/cjs/cjs_cycle_b.js
+++ b/std/node/tests/cjs/cjs_cycle_b.js
@@ -1,3 +1,4 @@
+// deno-lint-ignore-file no-undef
module.exports = false;
require("./cjs_cycle_b");
module.exports = true;
diff --git a/std/node/tests/cjs/cjs_throw.js b/std/node/tests/cjs/cjs_throw.js
index a636f406b..3def8cc85 100644
--- a/std/node/tests/cjs/cjs_throw.js
+++ b/std/node/tests/cjs/cjs_throw.js
@@ -2,4 +2,5 @@ function hello() {
throw new Error("bye");
}
+// deno-lint-ignore no-undef
module.exports = { hello };
diff --git a/std/node/tests/cjs/index.js b/std/node/tests/cjs/index.js
index 5dea52db2..d55928a89 100644
--- a/std/node/tests/cjs/index.js
+++ b/std/node/tests/cjs/index.js
@@ -1 +1,2 @@
+// deno-lint-ignore no-undef
module.exports = { isIndex: true };
diff --git a/std/node/tests/cjs/subdir/cjs_c.js b/std/node/tests/cjs/subdir/cjs_c.js
index 4e7d7ebe5..b24caa0c4 100644
--- a/std/node/tests/cjs/subdir/cjs_c.js
+++ b/std/node/tests/cjs/subdir/cjs_c.js
@@ -1 +1,2 @@
+// deno-lint-ignore no-undef
module.exports = "C";