@sz-sw/node-jtest
v2.3.1
Published
JTest.
Downloads
11
Readme
@sz-sw/node-jtest
JTest.
API:
expect(value).toBe(expected)
expect(value).toEqual(expected)
expect(fn).toThrowError()
expect(fn).toThrowError("message")
expect(fn).toThrowError("message")
expect(object).toHaveProperty("property")
describe("block", () => {
test("this is a test", () => {
expect(1).toBe(1)
})
})
CLI:
$ jtest [--nobail] [--trace] [--timeout=value] <files>