Skip to content

Commit

Permalink
Upgrade Vitest
Browse files Browse the repository at this point in the history
Latest Vitest browser is not compatible with Node.js' assert, so I had to replace it.
  • Loading branch information
kossnocorp committed Jan 22, 2024
1 parent aa264e3 commit 35c1858
Show file tree
Hide file tree
Showing 249 changed files with 1,428 additions and 2,505 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.js
Expand Up @@ -26,7 +26,11 @@ module.exports = {
rules: {
"@typescript-eslint/no-unused-vars": [
"error",
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
{
argsIgnorePattern: "^_",
// While we're mirgraing to Vitest's expect, we need to ignore it.
varsIgnorePattern: "(^_|expect|assert)",
},
],
"@typescript-eslint/consistent-type-imports": "error",
// The following rules are deprecated: https://eslint.org/blog/2023/10/deprecating-formatting-rules
Expand Down

0 comments on commit 35c1858

Please sign in to comment.