Skip to content

Commit 2ec6446

Browse files
committed
test: keep strict mode in imported whatwg-encoding tests
1 parent 3c3bf72 commit 2ec6446

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/vendor/whatwg-encoding/tests.test.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
"use strict";
2+
13
const whatwgEncoding = require('./whatwg-encoding-mock.js');
24
// From https://github.com/jsdom/whatwg-encoding/blob/ff5d22fd8694d713686a40f5563c3251f8426d79/test/tests.js
35

4-
"use strict";
56
const { describe, test: it } = require("node:test");
67
const assert = require("assert");
78
// const whatwgEncoding = require("..");

0 commit comments

Comments
 (0)