diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/jsr_tests.rs | 2 | ||||
-rw-r--r-- | tests/integration/run_tests.rs | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/tests/integration/jsr_tests.rs b/tests/integration/jsr_tests.rs index 7da0cc5b5..eb951d682 100644 --- a/tests/integration/jsr_tests.rs +++ b/tests/integration/jsr_tests.rs @@ -14,7 +14,7 @@ fn fast_check_cache() { let test_context = TestContextBuilder::for_jsr().use_temp_cwd().build(); let deno_dir = test_context.deno_dir(); let temp_dir = test_context.temp_dir(); - let type_check_cache_path = deno_dir.path().join("check_cache_v1"); + let type_check_cache_path = deno_dir.path().join("check_cache_v2"); temp_dir.write( "main.ts", diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index f7aaa9daf..55841b901 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -29,6 +29,8 @@ use util::PathRef; use util::TestContext; use util::TestContextBuilder; +const CODE_CACHE_DB_FILE_NAME: &str = "v8_code_cache_v2"; + itest!(stdout_write_all { args: "run --quiet run/stdout_write_all.ts", output: "run/stdout_write_all.out", @@ -5066,7 +5068,7 @@ fn code_cache_test() { assert!(!output.stderr().contains("V8 code cache hit")); // Check that the code cache database exists. - let code_cache_path = deno_dir.path().join("v8_code_cache_v1"); + let code_cache_path = deno_dir.path().join(CODE_CACHE_DB_FILE_NAME); assert!(code_cache_path.exists()); } @@ -5157,7 +5159,7 @@ fn code_cache_npm_test() { assert!(!output.stderr().contains("V8 code cache hit")); // Check that the code cache database exists. - let code_cache_path = deno_dir.path().join("v8_code_cache_v1"); + let code_cache_path = deno_dir.path().join(CODE_CACHE_DB_FILE_NAME); assert!(code_cache_path.exists()); } @@ -5217,7 +5219,7 @@ fn code_cache_npm_with_require_test() { assert!(!output.stderr().contains("V8 code cache hit")); // Check that the code cache database exists. - let code_cache_path = deno_dir.path().join("v8_code_cache_v1"); + let code_cache_path = deno_dir.path().join(CODE_CACHE_DB_FILE_NAME); assert!(code_cache_path.exists()); } |