Skip to content

Commit 00bf97b

Browse files
committed
test: fix typo in test data
1 parent 2e0195a commit 00bf97b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/express-test-harness.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ describe('express-http-context', function () {
152152

153153
app.use(httpContext.middleware);
154154
app.use((req, res, next) => {
155-
httpContext.set('key', 'middlware value');
155+
httpContext.set('key', 'middleware value');
156156
next();
157157
});
158158
app.use(httpContext.middleware);
@@ -185,14 +185,14 @@ describe('express-http-context', function () {
185185
sut.get('/test').query({ delay: 100, value: value1 }).end((err, res) => {
186186
// ASSERT
187187
expect(res.body.value).toBe(value1);
188-
expect(res.body.otherValue).toBe('middlware value');
188+
expect(res.body.otherValue).toBe('middleware value');
189189
done();
190190
});
191191

192192
sut.get('/test').query({ delay: 50, value: value2 }).end((err, res) => {
193193
// ASSERT
194194
expect(res.body.value).toBe(value2);
195-
expect(res.body.otherValue).toBe('middlware value');
195+
expect(res.body.otherValue).toBe('middleware value');
196196
});
197197
});
198198

0 commit comments

Comments
 (0)