chore(deps): update jest to v27 (#4472)
Updates jest and ts-jest to v27, as jest v27.1.0 includes a necessary fix to unblock further work on spying issues. See https://github.com/facebook/jest/pull/11721
This commit is contained in:
@@ -157,7 +157,7 @@ describe('INSTANCE_EVENT_EMITTER', () => {
|
||||
})
|
||||
|
||||
it('$off event + fn', () => {
|
||||
const spy2 = jasmine.createSpy('emitter')
|
||||
const spy2 = jest.fn()
|
||||
vm.$on('test', spy)
|
||||
vm.$on('test', spy2)
|
||||
vm.$off('test', spy)
|
||||
|
||||
@@ -16,7 +16,7 @@ describe('e2e: grid', () => {
|
||||
for (let j = 0; j < columns.length; j++) {
|
||||
expect(
|
||||
await text(`tr:nth-child(${i + 1}) td:nth-child(${j + 1})`)
|
||||
).toContain(data[i][columns[j]])
|
||||
).toContain(`${data[i][columns[j]]}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user