@vitest/eslint-plugin 1.5.0 → 1.5.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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -31,7 +31,7 @@ let __typescript_eslint_scope_manager = require("@typescript-eslint/scope-manage
|
|
|
31
31
|
__typescript_eslint_scope_manager = __toESM(__typescript_eslint_scope_manager);
|
|
32
32
|
|
|
33
33
|
//#region package.json
|
|
34
|
-
var version = "1.5.
|
|
34
|
+
var version = "1.5.1";
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/utils/index.ts
|
|
@@ -2398,7 +2398,7 @@ var no_alias_methods_default = createEslintRule({
|
|
|
2398
2398
|
toReturnWith: "toHaveReturnedWith",
|
|
2399
2399
|
lastReturnedWith: "toHaveLastReturnedWith",
|
|
2400
2400
|
nthReturnedWith: "toHaveNthReturnedWith",
|
|
2401
|
-
|
|
2401
|
+
toThrow: "toThrowError"
|
|
2402
2402
|
};
|
|
2403
2403
|
return { CallExpression(node) {
|
|
2404
2404
|
const vitestFnCall = parseVitestFnCall(node, context);
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { isAbsolute, posix } from "node:path";
|
|
|
4
4
|
import { DefinitionType } from "@typescript-eslint/scope-manager";
|
|
5
5
|
|
|
6
6
|
//#region package.json
|
|
7
|
-
var version = "1.5.
|
|
7
|
+
var version = "1.5.1";
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/utils/index.ts
|
|
@@ -2371,7 +2371,7 @@ var no_alias_methods_default = createEslintRule({
|
|
|
2371
2371
|
toReturnWith: "toHaveReturnedWith",
|
|
2372
2372
|
lastReturnedWith: "toHaveLastReturnedWith",
|
|
2373
2373
|
nthReturnedWith: "toHaveNthReturnedWith",
|
|
2374
|
-
|
|
2374
|
+
toThrow: "toThrowError"
|
|
2375
2375
|
};
|
|
2376
2376
|
return { CallExpression(node) {
|
|
2377
2377
|
const vitestFnCall = parseVitestFnCall(node, context);
|