-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add tests for tsconfig behavior
- Loading branch information
Showing
21 changed files
with
7,091 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...ces/check-parser/__tests__/check-parser-fixtures/tsconfig-paths-sample-project/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
1 change: 1 addition & 0 deletions
1
.../check-parser/__tests__/check-parser-fixtures/tsconfig-paths-sample-project/.node-version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v22.12.0 |
22 changes: 22 additions & 0 deletions
22
...ck-parser/__tests__/check-parser-fixtures/tsconfig-paths-sample-project/checkly.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { defineConfig } from 'checkly' | ||
|
||
const config = defineConfig({ | ||
projectName: 'TSConfig Paths Sample Project', | ||
logicalId: 'tsconfig-paths-sample-project', | ||
checks: { | ||
frequency: 10, | ||
locations: ['us-east-1'], | ||
tags: ['mac'], | ||
runtimeId: '2024.09', | ||
checkMatch: '**/__checks__/**/*.check.ts', | ||
browserChecks: { | ||
testMatch: '**/__checks__/**/*.spec.ts', | ||
}, | ||
}, | ||
cli: { | ||
runLocation: 'us-east-1', | ||
reporters: ['list'], | ||
}, | ||
}) | ||
|
||
export default config |
1 change: 1 addition & 0 deletions
1
.../check-parser/__tests__/check-parser-fixtures/tsconfig-paths-sample-project/lib1/file1.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const value = 'file1' |
1 change: 1 addition & 0 deletions
1
.../check-parser/__tests__/check-parser-fixtures/tsconfig-paths-sample-project/lib1/file2.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const value = 'file2' |
1 change: 1 addition & 0 deletions
1
...parser/__tests__/check-parser-fixtures/tsconfig-paths-sample-project/lib1/folder/file1.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { value } from './file2' |
1 change: 1 addition & 0 deletions
1
...parser/__tests__/check-parser-fixtures/tsconfig-paths-sample-project/lib1/folder/file2.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const value = 'file2' |
3 changes: 3 additions & 0 deletions
3
.../check-parser/__tests__/check-parser-fixtures/tsconfig-paths-sample-project/lib1/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { value as value1 } from './file1' | ||
export { value as value2 } from './file2' | ||
export { value as value3 } from './folder/file1' |
Oops, something went wrong.