Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Aug 9, 2018
1 parent 6301f7e commit 6c815e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ FetchMock.config = Object.assign(FetchMock.config, {
});

module.exports = FetchMock.createInstance(true);

2 changes: 1 addition & 1 deletion src/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FetchMock.config = {
overwriteRoutes: undefined
};

FetchMock.createInstance = function (isLibrary) {
FetchMock.createInstance = function(isLibrary) {
const instance = Object.create(FetchMock);
instance._uncompiledRoutes = (this._uncompiledRoutes || []).slice();
instance.routes = instance._uncompiledRoutes.map(config =>
Expand Down
6 changes: 3 additions & 3 deletions test/specs/inspecting.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ module.exports = fetchMock => {
describe('constants', () => {
it('has a MATCHED constant equal to true', () => {
expect(fetchMock.MATCHED).to.equal(true);
})
});
it('has a UNMATCHED constant equal to false', () => {
expect(fetchMock.UNMATCHED).to.equal(false);
})
})
});
});

describe('filtering', () => {
before(async () => {
Expand Down

0 comments on commit 6c815e6

Please sign in to comment.