Skip to content

Commit

Permalink
feat: add fetchDatabase on mirror-box (#792)
Browse files Browse the repository at this point in the history
* feat: add mirrorDatabase on mirror-box

* fix: exclude mirror-box in jest, and fix download prefetched-json
  • Loading branch information
asaadam authored Sep 10, 2021
1 parent 9a7ab72 commit 8238696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/mirror-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ export async function mirror(name: string) {
(function main() {
void mirror("wbw-faq-sheets.json");
void mirror("wbw-sheets.json");
void mirror("wbw-database.json");
})();
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
"!./(components|etc|lib|pages)/**/__tests__/**/*.test.(ts|tsx|js|jsx)",
"!./(components|etc|lib|pages)/**/__mocks__/**/*.(ts|tsx|js|jsx)",
"!./etc/fetchers/fetch-wbw.ts",
"!./etc/mirror-box.ts",
],
coverageThreshold: {
global: {
Expand Down

0 comments on commit 8238696

Please sign in to comment.