Skip to content

Commit d8e3452

Browse files
chore(deps-dev): bump eslint-plugin-mocha from 10.4.1 to 10.4.2 (#10085)
* chore(deps-dev): bump eslint-plugin-mocha from 10.4.1 to 10.4.2 Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 10.4.1 to 10.4.2. - [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases) - [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/10.4.2/CHANGELOG.md) - [Commits](lo1tuma/eslint-plugin-mocha@10.4.1...10.4.2) --- updated-dependencies: - dependency-name: eslint-plugin-mocha dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * fix mocha/prefer-arrow-callback errors --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chris48s <[email protected]>
1 parent dd8e2cd commit d8e3452

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

core/base-service/coalesce.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import coalesce from './coalesce.js'
66
// https://github.com/royriojas/coalescy for these tests!
77

88
describe('coalesce', function () {
9-
test(coalesce, function () {
9+
test(coalesce, () => {
1010
given().expect(undefined)
1111
given(null, []).expect([])
1212
given(null, [], {}).expect([])

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"eslint-plugin-icedfrisby": "^0.1.0",
173173
"eslint-plugin-import": "^2.29.1",
174174
"eslint-plugin-jsdoc": "^48.2.3",
175-
"eslint-plugin-mocha": "^10.4.1",
175+
"eslint-plugin-mocha": "^10.4.2",
176176
"eslint-plugin-no-extension-in-require": "^0.2.0",
177177
"eslint-plugin-node": "^11.1.0",
178178
"eslint-plugin-promise": "6.1.1",

services/packagist/packagist-base.spec.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ const expandedSample = [
5656
},
5757
]
5858

59-
describe('BasePackagistService', function () {
60-
describe('expandPackageVersions', function () {
59+
describe('BasePackagistService', () => {
60+
describe('expandPackageVersions', () => {
6161
const expanded = BasePackagistService.expandPackageVersions(
6262
{
6363
packages: {
@@ -66,7 +66,7 @@ describe('BasePackagistService', function () {
6666
},
6767
'foobar/foobar',
6868
)
69-
it('should expand the minified package array to match the expanded sample', function () {
69+
it('should expand the minified package array to match the expanded sample', () => {
7070
assert.deepStrictEqual(
7171
expanded,
7272
expandedSample,

services/pypi/pypi-helpers.spec.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const classifiersFixture = {
3535
}
3636

3737
describe('PyPI helpers', function () {
38-
test(parseClassifiers, function () {
38+
test(parseClassifiers, () => {
3939
given(
4040
classifiersFixture,
4141
/^Programming Language :: Python :: ([\d.]+)$/,
@@ -60,7 +60,7 @@ describe('PyPI helpers', function () {
6060
given(classifiersFixture, /^(?!.*)*$/).expect([])
6161
})
6262

63-
test(parsePypiVersionString, function () {
63+
test(parsePypiVersionString, () => {
6464
given('1').expect({ major: 1, minor: 0 })
6565
given('1.0').expect({ major: 1, minor: 0 })
6666
given('7.2').expect({ major: 7, minor: 2 })
@@ -69,7 +69,7 @@ describe('PyPI helpers', function () {
6969
given('foo').expect({ major: 0, minor: 0 })
7070
})
7171

72-
test(sortPypiVersions, function () {
72+
test(sortPypiVersions, () => {
7373
// Each of these includes a different variant: 2.0, 2, and 2.0rc1.
7474
given(['2.0', '1.9', '10', '1.11', '2.1', '2.11']).expect([
7575
'1.9',

services/pypi/pypi-python-versions.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { test, given } from 'sazerac'
22
import PypiPythonVersions from './pypi-python-versions.service.js'
33

44
describe('PyPI Python Version', function () {
5-
test(PypiPythonVersions.render, function () {
5+
test(PypiPythonVersions.render, () => {
66
// Major versions are hidden if minor are present.
77
given({ versions: ['3', '3.4', '3.5', '3.6', '2', '2.7'] }).expect({
88
message: '2.7 | 3.4 | 3.5 | 3.6',

0 commit comments

Comments
 (0)