Skip to content

Commit d1bd62c

Browse files
committed
refactor: disable ESLint rule for external request patterns in integration and unit tests
1 parent 998aa4e commit d1bd62c

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

tests/legacy/tests/integration/nested-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ module('Integration - Nested fragments', function (hooks) {
7474
},
7575
});
7676

77+
// eslint-disable-next-line warp-drive/no-external-request-patterns
7778
await PUT(
7879
this,
7980
'/users/1',

tests/legacy/tests/unit/fragment-test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ module<AppTestContext>('Unit - `Fragment`', function (hooks) {
373373

374374
module<AppTestContext>('fragment bug when initially set to `null`', function () {
375375
test('`person` fragments/fragment arrays are not initially `null`', async function (this: AppTestContext, assert) {
376+
// eslint-disable-next-line warp-drive/no-external-request-patterns
376377
await POST(
377378
this,
378379
'/people',
@@ -425,6 +426,7 @@ module<AppTestContext>('Unit - `Fragment`', function (hooks) {
425426
});
426427

427428
test('`person` fragments/fragment arrays are initially `null`', async function (this: AppTestContext, assert) {
429+
// eslint-disable-next-line warp-drive/no-external-request-patterns
428430
await POST(
429431
this,
430432
'/people',

0 commit comments

Comments
 (0)