From 4808bf1c403ddbd8fd0cec5da48f24ad64d8d777 Mon Sep 17 00:00:00 2001 From: "lib.martinito@pm.me" Date: Thu, 20 Jul 2023 21:39:44 +0800 Subject: [PATCH 1/2] CC-627 disabled the qunit/require-expect rule --- tests/acceptance/pay-test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/pay-test.js b/tests/acceptance/pay-test.js index ed0f14289a..0e2dd36186 100644 --- a/tests/acceptance/pay-test.js +++ b/tests/acceptance/pay-test.js @@ -16,6 +16,7 @@ module('Acceptance | pay-test', function (hooks) { test('redirects to login page if user is not signed in', async function (assert) { testScenario(this.server); + /* eslint-disable-next-line qunit/require-expect */ assert.expect(2); try { From dc7d9bb4e9566f8fcb1d66600bb7025e05cdb157 Mon Sep 17 00:00:00 2001 From: "lib.martinito@pm.me" Date: Thu, 20 Jul 2023 22:11:20 +0800 Subject: [PATCH 2/2] CC-627 moved comment for disabling eslint to top of file --- tests/acceptance/pay-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/pay-test.js b/tests/acceptance/pay-test.js index 0e2dd36186..4f7f796f7b 100644 --- a/tests/acceptance/pay-test.js +++ b/tests/acceptance/pay-test.js @@ -1,3 +1,4 @@ +/* eslint-disable qunit/require-expect */ import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; @@ -16,7 +17,6 @@ module('Acceptance | pay-test', function (hooks) { test('redirects to login page if user is not signed in', async function (assert) { testScenario(this.server); - /* eslint-disable-next-line qunit/require-expect */ assert.expect(2); try {