Install vitest

This commit is contained in:
Pieter Vander Vennet 2023-02-03 04:05:47 +01:00
parent 36aed99843
commit 64a4d7e929
3 changed files with 631 additions and 24 deletions

View file

@ -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/)
})