-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add BooleanFacetGroup + simplify facetOptions * Fix tests, rename SearchFilter -> FilterIndicator * add tests; update swc, add coverage * add a tests for filterable facet * rename facetMap -> facetManifest * do not render MultiFacetGroup when empty
- Loading branch information
1 parent
8d816ff
commit 0737ab3
Showing
15 changed files
with
707 additions
and
493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules/ | ||
coverage | ||
dist/* | ||
*.tgz | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,13 @@ | ||
import { Config } from "@jest/types" | ||
import { Config } from "@jest/types"; | ||
|
||
const common = { | ||
const config: Config.InitialOptions = { | ||
testEnvironment: "jsdom", | ||
transform: { | ||
collectCoverage: true, | ||
transform: { | ||
"^.+\\.(t)sx?$": "@swc/jest", | ||
}, | ||
setupFilesAfterEnv: ["<rootDir>src/test_setup.ts"], | ||
testMatch: ["<rootDir>/src/**/*.(spec|test).ts?(x)"], | ||
} | ||
|
||
const config: Config.InitialOptions = { | ||
projects: [ | ||
{ | ||
displayName: "history-v4", | ||
moduleNameMapper: { | ||
history$: "history-v4", | ||
}, | ||
...common, | ||
}, | ||
{ | ||
displayName: "history-v5", | ||
moduleNameMapper: { | ||
history$: "history", | ||
}, | ||
...common, | ||
}, | ||
], | ||
} | ||
testMatch: ["<rootDir>/src/**/*.(spec|test).ts?(x)"], | ||
}; | ||
|
||
export default config | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.