Set up jest with babel. Add failing test to see if it passes CI

This commit is contained in:
rebuilt 2021-10-15 20:10:49 +02:00
parent 1808c00b01
commit 771371d081
8 changed files with 7736 additions and 3 deletions

View file

@ -0,0 +1,15 @@
import Jester from "jester"
describe('this test should pass', () => {
test('very first test', () => {
expect(true).toBe(true)
})
test('Jester.hello returns greeting', () =>{
const jester = new Jester()
expect(jester.hello()).toBe("Hello")
})
test('fail', () => {
expect(false).toBe(true)
})
})