We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4edf8b2 commit 85dd0f7Copy full SHA for 85dd0f7
1 file changed
src/main.test.ts
@@ -5,21 +5,6 @@
5
* It is advised to test all your modules with accompanying *.test.ts-files
6
*/
7
8
-import { expect } from 'chai';
9
// import { functionToTest } from "./moduleToTest";
10
11
-describe('module to test => function to test', () => {
12
- // initializing logic
13
- const expected = 5;
14
-
15
- it(`should return ${expected}`, () => {
16
- const result = 5;
17
- // assign result a value from functionToTest
18
- expect(result).to.equal(expected);
19
- // or using the should() syntax
20
- result.should.equal(expected);
21
- });
22
- // ... more tests => it
23
-});
24
25
// ... more test suites => describe
0 commit comments