Skip to content

Commit 5e29390

Browse files
committed
feat: Add some failing tests
1 parent b2bbf23 commit 5e29390

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/__tests__/fails.test.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
it('Fails 1', () => {
2+
expect(1).toEqual(2)
3+
})
4+
5+
it('Fails 2', () => {
6+
expect(' asdasd').toBeLessThanOrEqual(2)
7+
})
8+
9+
it('Fails 4', () => {
10+
expect({ a: 'asda'}).toBeFalsy()
11+
})

src/__tests__/index.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,8 @@ test('warns when test results JSON file cannot be read', () => {
3838
expect(global['fail']).toHaveBeenCalled()
3939
})
4040

41+
it('Fails 6', () => {
42+
expect({ v: 'asda'}).toContain('s')
43+
})
44+
4145
const fixture = (filename: string) => path.resolve(__dirname, '__fixtures__', filename)

0 commit comments

Comments
 (0)