summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/package_json/basic/main.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-02-25 08:56:39 -0500
committerGitHub <noreply@github.com>2023-02-25 13:56:39 +0000
commitda5b5d4688f03e578565966b1c0634a187f7729d (patch)
tree0a936849335894ac1dd2ad1fa7fa6bf8a6d078e5 /cli/tests/testdata/package_json/basic/main.ts
parent3cd24fa8d0e1e88f8292180fe564990b22b01a30 (diff)
chore: fix flaky package_json_basic tests (#17940)
https://github.com/denoland/deno/actions/runs/4267836955/jobs/7429836369 Closes #17946
Diffstat (limited to 'cli/tests/testdata/package_json/basic/main.ts')
-rw-r--r--cli/tests/testdata/package_json/basic/main.ts12
1 files changed, 2 insertions, 10 deletions
diff --git a/cli/tests/testdata/package_json/basic/main.ts b/cli/tests/testdata/package_json/basic/main.ts
index 5911fe32d..e241f3002 100644
--- a/cli/tests/testdata/package_json/basic/main.ts
+++ b/cli/tests/testdata/package_json/basic/main.ts
@@ -1,11 +1,3 @@
-import * as test from "@denotest/esm-basic";
+import { getValue } from "./lib.ts";
-console.log(test.getValue());
-
-export function add(a: number, b: number) {
- return a + b;
-}
-
-export function getValue() {
- return test.getValue();
-}
+console.log(getValue());