Skip to content

Commit ff69954

Browse files
committed
Quiet lint warnings in tests
I have no idea why the NgRx code is mutating the Array prototype in the first place, but let's leave that there for now.
1 parent 8c53d58 commit ff69954

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/entities/sorted_state_adapter.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ describe('Sorted State Adapter', () => {
1313
let state: EntityState<BookModel>
1414

1515
beforeAll(() => {
16+
//eslint-disable-next-line
1617
Object.defineProperty(Array.prototype, 'unwantedField', {
1718
enumerable: true,
1819
configurable: true,

src/entities/unsorted_state_adapter.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ describe('Unsorted State Adapter', () => {
1212
let state: EntityState<BookModel>
1313

1414
beforeAll(() => {
15+
//eslint-disable-next-line
1516
Object.defineProperty(Array.prototype, 'unwantedField', {
1617
enumerable: true,
1718
configurable: true,

0 commit comments

Comments
 (0)