diff --git a/vitest-jest.js b/vitest-jest.js index 2d5e261cb..ede18b8d0 100644 --- a/vitest-jest.js +++ b/vitest-jest.js @@ -21,7 +21,7 @@ module.exports = new Proxy(require('@jest/globals'), { }; describeFn.each = function describeEach(table) { return jestGlobals.describe.each(table); - } + }; return describeFn; } if (prop === 'it') { @@ -39,7 +39,7 @@ module.exports = new Proxy(require('@jest/globals'), { }; itFn.each = function itEach(table) { return jestGlobals.it.each(table); - } + }; return itFn; } return Reflect.get(jestGlobals, prop, receiver);