mapcomplete/tests/Chai.spec.ts

17 lines
No EOL
364 B
TypeScript

import {describe} from 'mocha'
import {expect} from 'chai'
import {Utils} from "../Utils";
describe("TestSuite", () => {
describe("function onder test", () => {
it("should work", () => {
expect("abc").eq("abc")
})
})
})
it("global test", async() => {
expect("abc").eq("abc")
expect(() => {throw "hi"}).throws(/hi/)
})