Skip to content

Commit

Permalink
build(deps-dev): bump eslint-plugin-qunit from 6.2.0 to 7.0.0 (#143)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump eslint-plugin-qunit from 6.2.0 to 7.0.0

Bumps [eslint-plugin-qunit](https://github.com/platinumazure/eslint-plugin-qunit) from 6.2.0 to 7.0.0.
- [Release notes](https://github.com/platinumazure/eslint-plugin-qunit/releases)
- [Changelog](https://github.com/platinumazure/eslint-plugin-qunit/blob/master/CHANGELOG.md)
- [Commits](platinumazure/eslint-plugin-qunit@v6.2.0...v7.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-qunit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* refactor: prefer `assert.strictEqual` over `equal`

Because of `eslint-plugin-qunit`.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrChocolatine <[email protected]>
  • Loading branch information
dependabot[bot] and MrChocolatine authored Oct 25, 2021
1 parent e31d14e commit 059e4f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"eslint-plugin-ember": "^10.5.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-qunit": "^6.2.0",
"eslint-plugin-qunit": "^7.0.0",
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
Expand Down
16 changes: 8 additions & 8 deletions tests/unit/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ import { module, test } from 'qunit'

module('Unit | Utility | slug', function () {
test('tests on removeDiacritics', function (assert) {
assert.equal(removeDiacritics(''), '')
assert.equal(removeDiacritics('é è à ù ç č Ž ñ'), 'e e a u c c Z n')
assert.strictEqual(removeDiacritics(''), '')
assert.strictEqual(removeDiacritics('é è à ù ç č Ž ñ'), 'e e a u c c Z n')
})

test('tests on slugify', function (assert) {
assert.equal(slugify(''), '')
assert.equal(slugify('bonjour'), 'bonjour')
assert.equal(slugify('annyǒng hashimnikka'), 'annyong-hashimnikka')
assert.equal(slugify('Bon jOuR Töi 1337 '), 'bon-jour-toi-1337')
assert.equal(
assert.strictEqual(slugify(''), '')
assert.strictEqual(slugify('bonjour'), 'bonjour')
assert.strictEqual(slugify('annyǒng hashimnikka'), 'annyong-hashimnikka')
assert.strictEqual(slugify('Bon jOuR Töi 1337 '), 'bon-jour-toi-1337')
assert.strictEqual(
slugify('你好你怎么样 monsieur'),
'ni-hao-ni-zen-me-yang-monsieur'
)
})

test('tests on slugify with options', function (assert) {
assert.equal(
assert.strictEqual(
slugify('Bon jOuR Töi 1337', { separator: '#' }),
'bon#jour#toi#1337'
)
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5440,10 +5440,10 @@ eslint-plugin-prettier@^3.4.1:
dependencies:
prettier-linter-helpers "^1.0.0"

eslint-plugin-qunit@^6.2.0:
version "6.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-qunit/-/eslint-plugin-qunit-6.2.0.tgz#f4efda29da99523e560848d9592c39c0590c308d"
integrity sha512-KvPmkIC2MHpfRxs/r8WUeeGkG6y+3qwSi2AZIBtjcM/YG6Z3k0GxW5Hbu3l7X0TDhljVCeBb9Q5puUkHzl83Mw==
eslint-plugin-qunit@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-qunit/-/eslint-plugin-qunit-7.0.0.tgz#a782fafe930820f6b62880958ebc3e93de462f02"
integrity sha512-yPh02tbQoZK43voIfJFO9CUN5Q6j8ebfrnxEqPr7I4UiYln4RWKDQ4ajaHgV3gJKSAUZwymJ0DsB/YH6btRxIQ==
dependencies:
eslint-utils "^3.0.0"
requireindex "^1.2.0"
Expand Down

0 comments on commit 059e4f4

Please sign in to comment.