Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Feb 1, 2020
1 parent 039739b commit ebd104b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.idea/
.nyc_output/
node_modules/
coverage/
.idea
.nyc_output
node_modules
coverage
package-lock.json
deploy/
dist/
ext/
docs/
deploy
dist
ext
docs
**/*.js
**/*.d.ts
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export {};
export class Test {
constructor() {

}
}
7 changes: 5 additions & 2 deletions test/main.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// import {chai, expect} from './';
import {expect} from './';
import {Test} from "../src";

describe('dummy test', () => {

it('must succeed', () => {
expect(new Test()).to.be.instanceOf(Test);
});
});

0 comments on commit ebd104b

Please sign in to comment.