From 968f441da32ae5fc3783a4f9bcda3d34fa276b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 16 Sep 2024 14:39:58 +0100 Subject: test: rewrite some ignored tests to spec tests (#25652) Ref https://github.com/denoland/deno/issues/25241 Rewritten these tests: - check::package_json_basic - check::package_json_fail_check - check::package_json_with_deno_json - info::package_json_basic - test::package_json_basic - run::package_json_auto_discovered_for_npm_binary - run::package_json_with_deno_json --- tests/specs/test/package_json_basic/lib.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/specs/test/package_json_basic/lib.ts (limited to 'tests/specs/test/package_json_basic/lib.ts') diff --git a/tests/specs/test/package_json_basic/lib.ts b/tests/specs/test/package_json_basic/lib.ts new file mode 100644 index 000000000..1deed81f7 --- /dev/null +++ b/tests/specs/test/package_json_basic/lib.ts @@ -0,0 +1,9 @@ +import * as test from "@denotest/esm-basic"; + +export function add(a: number, b: number) { + return a + b; +} + +export function getValue() { + return test.getValue(); +} -- cgit v1.2.3