Skip to content

Commit 748e18c

Browse files
ci: test with older TypeScript version
Related: #3891
1 parent b9ce6a2 commit 748e18c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
- name: Install dependencies
3333
run: npm ci
3434

35+
- name: Install TypeScript 4.2
36+
run: npm i [email protected]
37+
if: ${{ matrix.node-version == '16' }}
38+
3539
- name: Run tests
3640
run: npm test
3741
env:

test/connection-state-recovery.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ describe("connection state recovery", () => {
221221
const httpServer = createServer().listen(0);
222222

223223
class DummyAdapter extends Adapter {
224-
override persistSession(session) {
224+
persistSession(session) {
225225
expect().fail();
226226
}
227227

228-
override restoreSession(pid, offset) {
228+
restoreSession(pid, offset) {
229229
expect().fail();
230230
return Promise.reject("should not happen");
231231
}

0 commit comments

Comments
 (0)