Skip to content

Commit

Permalink
ci: test with older TypeScript version
Browse files Browse the repository at this point in the history
Related: #3891
  • Loading branch information
darrachequesne committed Feb 22, 2024
1 parent b9ce6a2 commit 748e18c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Install TypeScript 4.2
run: npm i typescript@4.2
if: ${{ matrix.node-version == '16' }}

- name: Run tests
run: npm test
env:
Expand Down
4 changes: 2 additions & 2 deletions test/connection-state-recovery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ describe("connection state recovery", () => {
const httpServer = createServer().listen(0);

class DummyAdapter extends Adapter {
override persistSession(session) {
persistSession(session) {
expect().fail();
}

override restoreSession(pid, offset) {
restoreSession(pid, offset) {
expect().fail();
return Promise.reject("should not happen");
}
Expand Down

0 comments on commit 748e18c

Please sign in to comment.