Skip to content

Commit 09902fe

Browse files
Merge pull request #147 from unexpectedjs/feature/nodejs-v18
Support node.js version 18
2 parents 6a4abe9 + 8443d2d commit 09902fe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Tests
55

66
jobs:
77
test:
8-
runs-on: ubuntu-18.04
8+
runs-on: ubuntu-20.04
99
name: Node ${{ matrix.node }}
1010
strategy:
1111
matrix:
@@ -14,6 +14,7 @@ jobs:
1414
- '12'
1515
- '14'
1616
- '16'
17+
- '18'
1718
steps:
1819
- uses: actions/checkout@v2
1920
- name: Setup node

lib/UnexpectedExpressMocker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ class UnexpectedExpressMocker {
144144
},
145145
on() {},
146146
removeListener() {},
147+
_readableState: true,
147148
});
148149

149150
const requestBodyState = classifyRequestBodyAndUpdateHttpRequest(

0 commit comments

Comments
 (0)