@brightspace-ui/testing 1.25.0 → 1.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "name": "@brightspace-ui/testing",
3
3
  "description": "Utilities for testing front-end components and applications",
4
4
  "type": "module",
5
- "version": "1.25.0",
5
+ "version": "1.25.1",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "npm run lint:eslint && npm run lint:style",
9
- "lint:eslint": "eslint . --ext .js",
9
+ "lint:eslint": "eslint .",
10
10
  "lint:style": "stylelint \"**/*.{js,html}\" --ignore-path .gitignore",
11
11
  "test": "npm run lint && npm run test:bin && npm run test:server && npm run test:browser",
12
12
  "test:bin": "mocha './test/bin/**/*.test.js'",
@@ -25,11 +25,15 @@
25
25
  "devDependencies": {
26
26
  "@brightspace-ui/stylelint-config": "^1",
27
27
  "chai": "^5",
28
- "eslint": "^8",
29
- "eslint-config-brightspace": "^1",
28
+ "eslint": "^9",
29
+ "eslint-config-brightspace": "^1.2.1",
30
30
  "mocha": "^10",
31
31
  "sinon": "^19",
32
- "stylelint": "^16"
32
+ "stylelint": "^16",
33
+ "@eslint/compat": "^1",
34
+ "@eslint/eslintrc": "^3",
35
+ "@eslint/js": "^9",
36
+ "globals": "^1"
33
37
  },
34
38
  "exports": {
35
39
  ".": "./src/browser/index.js"
@@ -228,7 +228,7 @@ function skip() {
228
228
  run();
229
229
  try {
230
230
  currentTest.skip();
231
- } catch (e) { null; }
231
+ } catch { null; }
232
232
  }
233
233
 
234
234
  function skipAll() {
@@ -12,7 +12,7 @@ async function checkFileExists(fileName) {
12
12
  try {
13
13
  await access(fileName, constants.F_OK);
14
14
  return true;
15
- } catch (e) {
15
+ } catch {
16
16
  return false;
17
17
  }
18
18
  }