Skip to content

Commit

Permalink
chore(deps): update js test packages (#49)
Browse files Browse the repository at this point in the history
* chore(deps): update js test packages

* chore: update lock file

* fix: test mock problem

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: thundermiracle <[email protected]>
  • Loading branch information
renovate[bot] and thundermiracle authored Jun 10, 2023
1 parent 0f50bd4 commit 86e09d7
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 63 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
auto-install-peers=true
6 changes: 6 additions & 0 deletions __test__/filterData/filterData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import SearchType from '../../src/lib/SearchType';

import data from './data.json';

jest.mock('../../src/lib/utils', () => {
return {
__esModule: true,
...jest.requireActual('../../src/lib/utils'),
};
});
const listCombinerSpy = jest.spyOn(utils, 'listCombiner');

describe('includeNull', () => {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.1.1",
"@swc/core": "^1.2.196",
"@swc/jest": "^0.2.21",
"@swc/core": "^1.3.11",
"@swc/jest": "^0.2.23",
"@types/jest": "^29.2.1",
"@types/match-sorter": "^6.0.0",
"@types/node": "^18.15.11",
Expand Down
152 changes: 91 additions & 61 deletions pnpm-lock.yaml

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

0 comments on commit 86e09d7

Please sign in to comment.