Skip to content

Commit

Permalink
chore(deps): Updated dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed May 25, 2018
1 parent 279094b commit bb90bb4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,33 +39,33 @@
},
"homepage": "https://github.com/jan-molak/tiny-types#readme",
"devDependencies": {
"@types/chai": "4.1.2",
"@types/mocha": "2.2.48",
"@types/node": "9.4.0",
"@types/sinon": "4.1.3",
"@types/sinon-chai": "2.7.29",
"@types/chai": "4.1.3",
"@types/mocha": "5.2.0",
"@types/node": "10.1.2",
"@types/sinon": "5.0.0",
"@types/sinon-chai": "2.7.32",
"chai": "4.1.2",
"cheerio": "1.0.0-rc.2",
"commitizen": "2.9.6",
"coveralls": "3.0.0",
"cz-conventional-changelog": "^2.1.0",
"esdoc": "1.0.4",
"esdoc-importpath-plugin": "1.0.1",
"commitizen": "2.10.1",
"coveralls": "3.0.1",
"cz-conventional-changelog": "2.1.0",
"esdoc": "1.1.0",
"esdoc-importpath-plugin": "1.0.2",
"esdoc-standard-plugin": "1.0.0",
"esdoc-typescript-plugin": "1.0.0",
"esdoc-typescript-plugin": "1.0.1",
"gh-pages": "1.1.0",
"mocha": "5.0.0",
"mocha": "5.2.0",
"mocha-testdata": "1.2.0",
"nyc": "11.4.1",
"nyc": "11.8.0",
"rimraf": "2.6.2",
"semantic-release": "^12.4.1",
"semantic-release-cli": "3.6.2",
"sinon": "4.4.2",
"sinon-chai": "2.14.0",
"travis-deploy-once": "^4.3.3",
"ts-node": "5.0.0",
"tslint": "5.9.1",
"tslint-microsoft-contrib": "5.0.2",
"semantic-release": "15.5.0",
"semantic-release-cli": "4.0.1",
"sinon": "5.0.10",
"sinon-chai": "3.1.0",
"travis-deploy-once": "5.0.0",
"ts-node": "6.0.5",
"tslint": "5.10.0",
"tslint-microsoft-contrib": "5.0.3",
"typescript": "2.8.3"
},
"config": {
Expand Down
6 changes: 3 additions & 3 deletions spec/pattern-matching/ObjectMatcher.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ describe('pattern-matching', () => {
).it('matches object by constructor function', (input: DomainEvent, expected_result: string) => {

const result = new ObjectMatcher<DomainEvent, string>(input)
.when(AccountCreated, ({account_name}) => `Account created for ${ account_name }`)
.when(AccountConfirmed, ({account_name, email}) => `Account confirmed for ${ account_name } at ${ email }`)
.when(DomainEvent, ({timestamp}) => `Some DomainEvent received`)
.when(AccountCreated, ({account_name}: AccountCreated) => `Account created for ${ account_name }`)
.when(AccountConfirmed, ({account_name, email}: AccountConfirmed) => `Account confirmed for ${ account_name } at ${ email }`)
.when(DomainEvent, ({timestamp}: DomainEvent) => `Some DomainEvent received`)
.else(_ => `else, received "${_}"`);

expect(result).to.equal(expected_result);
Expand Down

0 comments on commit bb90bb4

Please sign in to comment.