summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-15 02:28:46 +0100
committerGitHub <noreply@github.com>2024-01-14 18:28:46 -0700
commitbc8d00c880756a46b0ce4c8bf0c89407a2de669c (patch)
tree03f41df566a3f171f9eec2a63e44ec0f5c25057a /cli/tests
parent5143b9e7d3f72e6cc23f8381295df17ff1235f53 (diff)
chore: upgrade deno_core to 0.246.0 (#21904)
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/testdata/import_attributes/dynamic_error.out2
-rw-r--r--cli/tests/unit/console_test.ts8
2 files changed, 5 insertions, 5 deletions
diff --git a/cli/tests/testdata/import_attributes/dynamic_error.out b/cli/tests/testdata/import_attributes/dynamic_error.out
index 3dc79ba6b..24f29de72 100644
--- a/cli/tests/testdata/import_attributes/dynamic_error.out
+++ b/cli/tests/testdata/import_attributes/dynamic_error.out
@@ -1,4 +1,4 @@
-error: Uncaught (in promise) TypeError: Expected a "None" module but loaded a "JSON" module.
+error: Uncaught (in promise) TypeError: Attempted to load JSON module without specifying "type": "json" attribute in the import statement.
const data = await import("./data.json");
^
at async [WILDCARD]dynamic_error.ts:1:14
diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts
index 031512f79..219b6ab07 100644
--- a/cli/tests/unit/console_test.ts
+++ b/cli/tests/unit/console_test.ts
@@ -490,12 +490,12 @@ Deno.test(function consoleTestStringifyFunctionWithProperties() {
[some]: [Function: some] { [length]: 1, [name]: "some" },
[reduce]: [Function: reduce] { [length]: 1, [name]: "reduce" },
[reduceRight]: [Function: reduceRight] { [length]: 1, [name]: "reduceRight" },
- [toLocaleString]: [Function: toLocaleString] { [length]: 0, [name]: "toLocaleString" },
- [toString]: [Function: toString] { [length]: 0, [name]: "toString" },
[toReversed]: [Function: toReversed] { [length]: 0, [name]: "toReversed" },
[toSorted]: [Function: toSorted] { [length]: 1, [name]: "toSorted" },
[toSpliced]: [Function: toSpliced] { [length]: 2, [name]: "toSpliced" },
[with]: [Function: with] { [length]: 2, [name]: "with" },
+ [toLocaleString]: [Function: toLocaleString] { [length]: 0, [name]: "toLocaleString" },
+ [toString]: [Function: toString] { [length]: 0, [name]: "toString" },
[Symbol(Symbol.iterator)]: [Function: values] { [length]: 0, [name]: "values" },
[Symbol(Symbol.unscopables)]: [Object: null prototype] {
at: true,
@@ -510,10 +510,10 @@ Deno.test(function consoleTestStringifyFunctionWithProperties() {
flatMap: true,
includes: true,
keys: true,
- values: true,
toReversed: true,
toSorted: true,
- toSpliced: true
+ toSpliced: true,
+ values: true
}
],
[isArray]: [Function: isArray] { [length]: 1, [name]: "isArray" },