Skip to content

Commit c5c6acf

Browse files
author
Andy Hanson
committed
Update test baselines: We no longer search in node_modules/@types if it does not exist.
1 parent 22ba111 commit c5c6acf

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

tests/baselines/reference/library-reference-11.trace.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[
2-
"======== Resolving type reference directive 'jquery', containing file '/a/b/consumer.ts', root directory '/node_modules/@types'. ========",
3-
"Resolving with primary search path '/node_modules/@types'",
4-
"File '/node_modules/@types/jquery/package.json' does not exist.",
5-
"File '/node_modules/@types/jquery/index.d.ts' does not exist.",
2+
"======== Resolving type reference directive 'jquery', containing file '/a/b/consumer.ts', root directory not set. ========",
3+
"Root directory cannot be determined, skipping primary search paths.",
64
"Looking up in 'node_modules' folder, initial location '/a/b'",
75
"File '/a/b/node_modules/jquery.ts' does not exist.",
86
"File '/a/b/node_modules/jquery.d.ts' does not exist.",

tests/baselines/reference/library-reference-12.trace.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[
2-
"======== Resolving type reference directive 'jquery', containing file '/a/b/consumer.ts', root directory '/node_modules/@types'. ========",
3-
"Resolving with primary search path '/node_modules/@types'",
4-
"File '/node_modules/@types/jquery/package.json' does not exist.",
5-
"File '/node_modules/@types/jquery/index.d.ts' does not exist.",
2+
"======== Resolving type reference directive 'jquery', containing file '/a/b/consumer.ts', root directory not set. ========",
3+
"Root directory cannot be determined, skipping primary search paths.",
64
"Looking up in 'node_modules' folder, initial location '/a/b'",
75
"File '/a/b/node_modules/jquery.ts' does not exist.",
86
"File '/a/b/node_modules/jquery.d.ts' does not exist.",

tests/baselines/reference/library-reference-7.trace.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[
2-
"======== Resolving type reference directive 'jquery', containing file '/src/consumer.ts', root directory '/node_modules/@types'. ========",
3-
"Resolving with primary search path '/node_modules/@types'",
4-
"File '/node_modules/@types/jquery/package.json' does not exist.",
5-
"File '/node_modules/@types/jquery/index.d.ts' does not exist.",
2+
"======== Resolving type reference directive 'jquery', containing file '/src/consumer.ts', root directory not set. ========",
3+
"Root directory cannot be determined, skipping primary search paths.",
64
"Looking up in 'node_modules' folder, initial location '/src'",
75
"File '/src/node_modules/jquery.ts' does not exist.",
86
"File '/src/node_modules/jquery.d.ts' does not exist.",

0 commit comments

Comments
 (0)