chore: 🤖 Upgrade eslint-plugin-qunit (#2011)

* chore: 🤖 Upgrade eslint-plugin-qunit

* Delete unnecessary assert.expect from tests
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2023-12-08 12:56:00 -08:00
1 parent a94572214c
commit b51c8203ee
227 files changed
+32 -1179

No files matched your search

@@ -23,7 +23,6 @@ module('Unit | Abilities | Auth Method', function (hooks) {
});
test('can read known auth method types when authorized', function (assert) {
assert.expect(4);
const authMethod = store.createRecord('auth-method', {
authorized_actions: ['read'],
type: TYPE_AUTH_METHOD_OIDC,
@@ -38,7 +37,6 @@ module('Unit | Abilities | Auth Method', function (hooks) {
});
test('cannot read auth methods when unauthorized', function (assert) {
assert.expect(4);
const authMethod = store.createRecord('auth-method', {
authorized_actions: [],
type: TYPE_AUTH_METHOD_OIDC,
@@ -53,7 +51,6 @@ module('Unit | Abilities | Auth Method', function (hooks) {
});
test('can delete known auth method types when authorized', function (assert) {
assert.expect(4);
const authMethod = store.createRecord('auth-method', {
authorized_actions: ['delete'],
type: TYPE_AUTH_METHOD_OIDC,
@@ -68,7 +65,6 @@ module('Unit | Abilities | Auth Method', function (hooks) {
});
test('cannot delete auth methods when unauthorized', function (assert) {
assert.expect(4);
const authMethod = store.createRecord('auth-method', {
authorized_actions: ['delete'],
type: TYPE_AUTH_METHOD_OIDC,
@@ -83,7 +79,6 @@ module('Unit | Abilities | Auth Method', function (hooks) {
});
test('can update known auth method types when authorized', function (assert) {
assert.expect(4);
const authMethod = store.createRecord('auth-method', {
authorized_actions: ['update'],
type: TYPE_AUTH_METHOD_OIDC,
@@ -98,7 +93,6 @@ module('Unit | Abilities | Auth Method', function (hooks) {
});
test('cannot update auth methods when unauthorized', function (assert) {
assert.expect(4);
const authMethod = store.createRecord('auth-method', {
authorized_actions: [],
type: TYPE_AUTH_METHOD_OIDC,