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 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: dependency updates and code cleanup (#684)
- Loading branch information
1 parent
6880933
commit 134a212
Showing
16 changed files
with
539 additions
and
504 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
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
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,19 +1,10 @@ | ||
const jestLwcConfig = require('@lwc/jest-preset') | ||
import merge = require('deepmerge') | ||
import * as path from 'path' | ||
// const jestLwcConfig = require('@lwc/jest-preset') | ||
// import merge = require('deepmerge') | ||
import { resolve } from 'path' | ||
|
||
const jestDefaultConfig = { | ||
rootDir: process.cwd(), | ||
transformIgnorePatterns: [ | ||
'/node_modules/(?:(?!lightning-mocks.*(js|html|css)))*$' | ||
], | ||
resolver: path.resolve(__dirname, '../utils/resolver.js'), | ||
testPathIgnorePatterns: [ | ||
'<rootDir>/node_modules/', | ||
'<rootDir>/test/specs/' | ||
], | ||
collectCoverageFrom: ['src/**/*.js'], | ||
snapshotSerializers: [require.resolve('@lwc/jest-serializer')] | ||
preset: '@lwc/jest-preset', | ||
resolver: resolve(__dirname, '../utils/resolver.js') | ||
} | ||
|
||
export const jestConfig = merge(jestLwcConfig, jestDefaultConfig) | ||
export const jestConfig = jestDefaultConfig |
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.