Skip to content

Commit

Permalink
test: update req.originalUrl value (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Feb 16, 2018
1 parent bb9e366 commit dacb2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/polka.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ test('polka::usage::sub-apps', t => {
t.pass('run the main-application route');
t.is(req.foo, 'hello', '~> receives mutatations from middleware');
t.is(req.bar, undefined, '~> does NOT run the sub-application middleware');
t.is(req.originalUrl, undefined, '~> does not see an `req.originalUrl` key');
t.is(req.originalUrl, '/', '~> always sets `req.originalUrl` key');
res.end('hello from main');
});

Expand Down

0 comments on commit dacb2e2

Please sign in to comment.