forked from MapComplete/MapComplete
First steps to a real testing framework: first working version with mocha, chai and doctest-ts
This commit is contained in:
parent
edc366149b
commit
4f4fc650b1
42 changed files with 9032 additions and 9275 deletions
15
tests/Chai.spec.ts
Normal file
15
tests/Chai.spec.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import {describe} from 'mocha'
|
||||
import {expect} from 'chai'
|
||||
|
||||
describe("TestSuite", () => {
|
||||
|
||||
describe("function onder test", () => {
|
||||
it("should work", () => {
|
||||
expect("abc").eq("abc")
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
it("global test", () => {
|
||||
expect("abc").eq("abc")
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue