From 2ed984ba3aa638c3f088ac1edc5c779c7d9195d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 8 Mar 2024 00:32:11 +0000 Subject: fix: respect unstable "temporal" configuration in config file (#22134) Actual fix happened in https://github.com/denoland/deno/pull/22782, but this commit adds additional tests and cleans up V8 flags passed on init. Closes https://github.com/denoland/deno/issues/22123 Closes https://github.com/denoland/deno/issues/22560 Closes https://github.com/denoland/deno/issues/22557 --- tests/testdata/compile/unstable_features.ts | 1 + tests/testdata/run/unstable_temporal_api/deno.json | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 tests/testdata/run/unstable_temporal_api/deno.json (limited to 'tests/testdata') diff --git a/tests/testdata/compile/unstable_features.ts b/tests/testdata/compile/unstable_features.ts index 819a3d187..19d5e03f5 100644 --- a/tests/testdata/compile/unstable_features.ts +++ b/tests/testdata/compile/unstable_features.ts @@ -1,2 +1,3 @@ const db = await Deno.openKv(); console.log(db); +console.log(Temporal); diff --git a/tests/testdata/run/unstable_temporal_api/deno.json b/tests/testdata/run/unstable_temporal_api/deno.json new file mode 100644 index 000000000..fea0791c5 --- /dev/null +++ b/tests/testdata/run/unstable_temporal_api/deno.json @@ -0,0 +1,3 @@ +{ + "unstable": ["temporal"] +} -- cgit v1.2.3