diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/testdata/import_attributes/dynamic_error.out | 2 | ||||
-rw-r--r-- | cli/tests/unit/console_test.ts | 8 |
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" }, |