From 6b9901089431063dbc84f08c5ba486f186bbd32f Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 14 Dec 2024 16:56:20 +0000 Subject: [PATCH] Update .eslintrc.json --- .eslintrc.json | 4 +++- src/+examples/test-service/service-to-test-auto.spec.ts | 1 - src/+examples/test-service/service-to-test.spec.ts | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index b69290ab..4a581864 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -179,7 +179,9 @@ "rules": { "testing-library/prefer-explicit-assert": "error", "jest/consistent-test-it": ["error"], - "jest/expect-expect": "off" + "jest/expect-expect": "off", + "@typescript-eslint/unbound-method": "off", + "jest/unbound-method": "error" } } ] diff --git a/src/+examples/test-service/service-to-test-auto.spec.ts b/src/+examples/test-service/service-to-test-auto.spec.ts index 8c62e8e3..062c4e66 100644 --- a/src/+examples/test-service/service-to-test-auto.spec.ts +++ b/src/+examples/test-service/service-to-test-auto.spec.ts @@ -1,5 +1,4 @@ // service-to-test-auto.spec.ts -/* eslint-disable @typescript-eslint/unbound-method */ import { TestBed } from '@angular/core/testing'; import { describe, expect, it, jest } from '@jest/globals'; diff --git a/src/+examples/test-service/service-to-test.spec.ts b/src/+examples/test-service/service-to-test.spec.ts index 8dc8b49d..927e4d40 100644 --- a/src/+examples/test-service/service-to-test.spec.ts +++ b/src/+examples/test-service/service-to-test.spec.ts @@ -1,5 +1,4 @@ // service-to-test.spec.ts -/* eslint-disable @typescript-eslint/unbound-method */ import { TestBed } from '@angular/core/testing'; import { describe, expect, it, jest } from '@jest/globals';