Skip to content

Commit

Permalink
chore(deps): update dependency chai-as-promised to v8 (#673)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency chai-as-promised to v8

* chore: fix esm test module

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alice Jones <[email protected]>
  • Loading branch information
renovate[bot] and Pactionly authored Dec 23, 2024
1 parent 0815e8b commit 5ad321e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 59 deletions.
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = [
mochaPlugin.configs.flat.recommended,
eslintPluginPrettierRecommended,
{
ignores: ["test/setup.js"],
languageOptions: {
sourceType: "commonjs",
ecmaVersion: 2020,
Expand Down
72 changes: 17 additions & 55 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 @@ -27,7 +27,7 @@
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"chai": "^5.0.0",
"chai-as-promised": "^7.1.2",
"chai-as-promised": "^8.0.0",
"chance": "^1.1.12",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
7 changes: 4 additions & 3 deletions test/setup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const chai = require("chai");
const chaiAsPromised = require("chai-as-promised");
const winston = require("../winston");
import * as chai from "chai";
import chaiAsPromised from "chai-as-promised";

import winston from "../winston.js";

winston.silent = true;
chai.use(chaiAsPromised);

0 comments on commit 5ad321e

Please sign in to comment.