Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
KostkaBrukowa committed Apr 26, 2024
1 parent 37baa98 commit c90ab0a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ jobs:
- run: npm i -D typescript@${{ matrix.typescript_version }}
- run: npm run build
- run: npm run test
- uses: actions/upload-artifact@v4
with:
name: logs
path: e2e/**/ts.log

2 changes: 1 addition & 1 deletion e2e/plugin/utils/TSServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class TSServer {
const server = fork(tsserverPath, {
stdio: ['pipe', 'pipe', 'pipe', 'ipc'],
cwd: projectPath,
// env: { TSS_LOG: '-logToFile true -file ./ts.log -level verbose' }, // creates tsserver log from tests
env: { TSS_LOG: '-logToFile true -file ./ts.log -level verbose' }, // creates tsserver log from tests
});
this._exitPromise = new Promise((resolve, reject) => {
server.on('exit', (code: string) => resolve(code));
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"jest": {
"preset": "ts-jest",
"testTimeout": 300000,
"testTimeout": 30000,
"roots": [
"src",
"e2e"
Expand Down Expand Up @@ -73,9 +73,9 @@
"tmp-promise": "2.0.2",
"ts-jest": "^29.1.2",
"ts-node": "10.4.0",
"typescript": "5.2.2",
"which-module": "^2.0.0",
"typescript-strict-plugin": "file:./"
"typescript": "^5.2.2",
"typescript-strict-plugin": "file:./",
"which-module": "^2.0.0"
},
"lint-staged": {
"*.(js|ts)": [
Expand Down

0 comments on commit c90ab0a

Please sign in to comment.