This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
134a212
commit b33410a
Showing
4 changed files
with
8 additions
and
11 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
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
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,10 +1,7 @@ | ||
// const jestLwcConfig = require('@lwc/jest-preset') | ||
// import merge = require('deepmerge') | ||
const jestLwcConfig = require('@lwc/jest-preset') | ||
import { resolve } from 'path' | ||
|
||
const jestDefaultConfig = { | ||
preset: '@lwc/jest-preset', | ||
export const jestConfig = { | ||
...jestLwcConfig, | ||
resolver: resolve(__dirname, '../utils/resolver.js') | ||
} | ||
|
||
export const jestConfig = jestDefaultConfig | ||
} |