diff options
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/config_json_import.ts | 2 | ||||
-rw-r--r-- | cli/tests/testdata/config_json_import.ts.out | 3 | ||||
-rw-r--r-- | cli/tests/testdata/jsx/deno-jsx.json | 6 |
3 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/testdata/config_json_import.ts b/cli/tests/testdata/config_json_import.ts new file mode 100644 index 000000000..d344c0fb7 --- /dev/null +++ b/cli/tests/testdata/config_json_import.ts @@ -0,0 +1,2 @@ +import config from "./jsx/deno-jsx.json" assert { type: "json" }; +console.log(config); diff --git a/cli/tests/testdata/config_json_import.ts.out b/cli/tests/testdata/config_json_import.ts.out new file mode 100644 index 000000000..aa55be7d5 --- /dev/null +++ b/cli/tests/testdata/config_json_import.ts.out @@ -0,0 +1,3 @@ +{ + compilerOptions: { jsx: "react-jsx", jsxImportSource: "http://localhost:4545/jsx" } +} diff --git a/cli/tests/testdata/jsx/deno-jsx.json b/cli/tests/testdata/jsx/deno-jsx.json new file mode 100644 index 000000000..311409ea3 --- /dev/null +++ b/cli/tests/testdata/jsx/deno-jsx.json @@ -0,0 +1,6 @@ +{ + "compilerOptions": { + "jsx": "react-jsx", + "jsxImportSource": "http://localhost:4545/jsx" + } +} |