Skip to content

Commit

Permalink
readded removed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabueeee committed Jan 19, 2019
1 parent 9e5a31a commit c002db1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ This Project uses Semantic Versioning. More information can be found [here](http

The branch and tag names also follow the following convention:
- branches: ```v-x.y.z```
- tags: ```v.x.y.z```
- tags: ```vx.y.z```

You only need to follow this convention when creating a Pull Request for a full npm release.

Expand Down
2 changes: 1 addition & 1 deletion task/clean.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

const promisify = require('util').promisify;
const glob = promisify(require('glob'));
const del = require('del');
const del = require('del');


(async () => {
Expand Down
5 changes: 5 additions & 0 deletions test/isolation/RequestSpy.dev.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ describe('class: RequestSpy', (): void => {
});
});

it('returns accepted pattern', (): void => {
let requestSpy: RequestSpy = new RequestSpy('some-pattern/**/*');
assert.deepStrictEqual(requestSpy.getPatterns(), ['some-pattern/**/*']);
});

it('multiple matched requests increases matchCount', (): void => {
let requestSpy: RequestSpy = new RequestSpy('some-pattern/**/*');

Expand Down

0 comments on commit c002db1

Please sign in to comment.