Skip to content

Commit

Permalink
feat(chai): add chai and mocha/chai/node typings
Browse files Browse the repository at this point in the history
  • Loading branch information
pathurs committed Jan 8, 2020
1 parent 0f7d3e8 commit 5f6eb13
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 7 deletions.
54 changes: 52 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
"devDependencies": {
"@types/app-root-path": "^1.2.4",
"@types/cross-spawn": "^6.0.1",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.21"
"@types/glob": "^7.1.1"
},
"dependencies": {
"@semantic-release/changelog": "^3.0.6",
Expand All @@ -44,7 +42,11 @@
"@semantic-release/github": "^5.5.5",
"@semantic-release/npm": "^5.3.4",
"@semantic-release/release-notes-generator": "^7.3.5",
"@types/chai": "^4.2.7",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.21",
"app-root-path": "^3.0.0",
"chai": "^4.2.0",
"cross-spawn": "^7.0.1",
"del": "^5.1.0",
"glob": "^7.1.6",
Expand Down
5 changes: 3 additions & 2 deletions source/stub.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import * as assert from 'assert';
const expect = chai.expect;

describe('Stub', () => {
it('Stub', () => {
assert.strictEqual(true, true);
// tslint:disable-next-line: no-unused-expression
expect(true).to.equal(true);
});
});

0 comments on commit 5f6eb13

Please sign in to comment.