Skip to content

Commit

Permalink
setupTests.ts: disabled eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
lankalana committed Oct 3, 2024
1 parent 865338f commit e19c1df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"lint-staged": {
"*.ts": [
"eslint --fix --cache",
"tsc --target es2020 --moduleResolution node --esModuleInterop --resolveJsonModule --noEmit ./setupTests.ts",
"tsc --target es2020 --moduleResolution node --esModuleInterop --resolveJsonModule",
"prettier --write"
],
"README.md": "markdown-toc -i --bullets=- --maxdepth=3"
Expand Down
2 changes: 1 addition & 1 deletion setupTests.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
expect.extend({
jsonMatching(actual: any, expected: any) {
const pass = this.equals(JSON.parse(actual), expected);
Expand All @@ -15,7 +16,6 @@ expect.extend({
});

declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace jest {
interface Expect {
jsonMatching(expected: any): any;
Expand Down

0 comments on commit e19c1df

Please sign in to comment.