summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/import_maps/import_map.json1
-rw-r--r--cli/tests/testdata/import_maps/print_hello.ts3
2 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/import_maps/import_map.json b/cli/tests/testdata/import_maps/import_map.json
index 601874aab..40d1d4ec2 100644
--- a/cli/tests/testdata/import_maps/import_map.json
+++ b/cli/tests/testdata/import_maps/import_map.json
@@ -1,5 +1,6 @@
{
"imports": {
+ "print_hello": "./print_hello.ts",
"moment": "./moment/moment.ts",
"moment/": "./moment/",
"lodash": "./lodash/lodash.ts",
diff --git a/cli/tests/testdata/import_maps/print_hello.ts b/cli/tests/testdata/import_maps/print_hello.ts
new file mode 100644
index 000000000..794257390
--- /dev/null
+++ b/cli/tests/testdata/import_maps/print_hello.ts
@@ -0,0 +1,3 @@
+export function printHello() {
+ console.log("Hello, world!");
+}