Skip to content

Commit

Permalink
Merge pull request #1056 from weather-gov/dependabot/npm_and_yarn/cha…
Browse files Browse the repository at this point in the history
…i-5.1.0

Bump chai from 4.4.1 to 5.1.0
  • Loading branch information
eric-gade authored Apr 23, 2024
2 parents 14ff43d + 4084995 commit 89097ac
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 38 deletions.
64 changes: 28 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
"axe-core": "^4.8.4",
"chai": "^4.4.1",
"chai": "^5.1.0",
"cypress": "^13.8.0",
"cypress-axe": "^1.5.0",
"cypress-plugin-tab": "^1.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
require("jsdom-global")(undefined, {url: "http://localhost/"});
require("../../assets/js/components/combo-box.js");
require("whatwg-fetch");
const { assert, expect, should } = require("chai");
//const { assert, expect, should } = require("chai");
let assert, expect, should;
import("chai").then(module => {
assert = module.assert;
expect = module.expect;
should = module.should;
});
const { createSandbox, stub, spy, mock } = require("sinon");

global.HTMLElement = window.HTMLElement;
Expand Down

0 comments on commit 89097ac

Please sign in to comment.