forked from MapComplete/MapComplete
Install vitest
This commit is contained in:
parent
36aed99843
commit
64a4d7e929
3 changed files with 631 additions and 24 deletions
|
@ -1,17 +0,0 @@
|
|||
import { describe } from "mocha"
|
||||
import { expect } from "chai"
|
||||
|
||||
describe("TestSuite", () => {
|
||||
describe("function under test", () => {
|
||||
it("should work", () => {
|
||||
expect("abc").eq("abc")
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
it("global test", async () => {
|
||||
expect("abc").eq("abc")
|
||||
expect(() => {
|
||||
throw "hi"
|
||||
}).throws(/hi/)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue