Skip to content

Commit

Permalink
Run CI on newer versions of node
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisandrews7 committed Mar 1, 2020
1 parent e20624c commit 4f3bf1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,6 +1,8 @@
language: node_js
node_js:
- "6"
- "8"
- "10"
script:
- npm run style
- npm run test:coverage
Expand Down
12 changes: 6 additions & 6 deletions test/requestedWithHeaders.test.js
Expand Up @@ -62,9 +62,9 @@ describe('requestedWithHeaders() assertions', () => {
.reply(200);
request(requestObj);

const assertion = expect(requestNock).to.have.been.requestedWithHeaders(
{ test: 2 },
);
const assertion = expect(
requestNock,
).to.have.been.requestedWithHeaders({ test: 2 });
const actualHeaders = '{ Object (test, host, ...) }'; // Chai truncates the object to this string

return assertion
Expand All @@ -84,9 +84,9 @@ describe('requestedWithHeaders() assertions', () => {
.get('/')
.reply(200);

const assertion = expect(requestNock).to.have.been.requestedWithHeaders(
{ test: 123 },
);
const assertion = expect(
requestNock,
).to.have.been.requestedWithHeaders({ test: 123 });

return assertion
.then(() => done.fail('Should have thrown an error'))
Expand Down

0 comments on commit 4f3bf1d

Please sign in to comment.