diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-08-11 10:20:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 10:20:47 -0400 |
commit | 15a763152f9d392cb80692262f8de5ef8ae15495 (patch) | |
tree | fcd1a59777f95920bf3502519983d6cc0d882a9a /cli/tests/testdata/tsc | |
parent | a0285e2eb88f6254f6494b0ecd1878db3a3b2a58 (diff) |
chore: move test files to testdata directory (#11601)
Diffstat (limited to 'cli/tests/testdata/tsc')
-rw-r--r-- | cli/tests/testdata/tsc/a.js | 2 | ||||
-rw-r--r-- | cli/tests/testdata/tsc/d.ts | 3 | ||||
-rw-r--r-- | cli/tests/testdata/tsc/node_modules/b.js | 2 | ||||
-rw-r--r-- | cli/tests/testdata/tsc/node_modules/c.js | 1 | ||||
-rw-r--r-- | cli/tests/testdata/tsc/test.js | 4 |
5 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/testdata/tsc/a.js b/cli/tests/testdata/tsc/a.js new file mode 100644 index 000000000..5a7b3ff93 --- /dev/null +++ b/cli/tests/testdata/tsc/a.js @@ -0,0 +1,2 @@ +import { v4 } from "./d.ts"; +export function a() {} diff --git a/cli/tests/testdata/tsc/d.ts b/cli/tests/testdata/tsc/d.ts new file mode 100644 index 000000000..3c74b8c83 --- /dev/null +++ b/cli/tests/testdata/tsc/d.ts @@ -0,0 +1,3 @@ +export function v4() { + return "hello"; +} diff --git a/cli/tests/testdata/tsc/node_modules/b.js b/cli/tests/testdata/tsc/node_modules/b.js new file mode 100644 index 000000000..191660935 --- /dev/null +++ b/cli/tests/testdata/tsc/node_modules/b.js @@ -0,0 +1,2 @@ +import c from "./c.js"; +export { c }; diff --git a/cli/tests/testdata/tsc/node_modules/c.js b/cli/tests/testdata/tsc/node_modules/c.js new file mode 100644 index 000000000..cff71c44a --- /dev/null +++ b/cli/tests/testdata/tsc/node_modules/c.js @@ -0,0 +1 @@ +export default function c() {} diff --git a/cli/tests/testdata/tsc/test.js b/cli/tests/testdata/tsc/test.js new file mode 100644 index 000000000..b7f46b351 --- /dev/null +++ b/cli/tests/testdata/tsc/test.js @@ -0,0 +1,4 @@ +import { a } from "./a.js"; +import { c } from "./node_modules/b.js"; + +console.log("hello"); |