Skip to content

Commit

Permalink
chore: fix eslint error (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxinyong authored Dec 28, 2021
1 parent f45a4ce commit 4c95a7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions global.config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion global.config.js.map

This file was deleted.

1 change: 1 addition & 0 deletions global.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ global.document.documentElement.style['grid-column-gap'] = true
const spy = jest.spyOn(console, 'error')
beforeAll(() => {
spy.mockImplementation((message) => {
// eslint-disable-next-line no-console
console.log(message)
throw new Error(message)
})
Expand Down

0 comments on commit 4c95a7b

Please sign in to comment.