-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING CHANGE: Migrate to Jest and Webpack to be more compatible with Lit 3 #118
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3f0693a
dummy change to trigger ci
ataromoku ffc1a5e
Bump react-valence-ui-iframe
ataromoku 540f5e4
add global flag
ataromoku 931d808
jest
ataromoku c9e514e
fix script
ataromoku aa7fa43
lock file
ataromoku fe52f0c
fix lint
ataromoku 25ab10b
fix pdfjsworker tests
ataromoku 6d9f857
webpack
ataromoku c4a6e88
remove watch
ataromoku eb43a35
Add scripts
ataromoku 81a05d2
deps cleanup
ataromoku 4e1bc59
remove deprecated react-addons-test-utils
ataromoku 4f1161c
Add global tests timeout 30s
ataromoku c347bae
remove eslint-disable-line
ataromoku b116ce5
Make src prop in tests consistent
ataromoku 5555324
remove blank line
ataromoku 1af544d
Remove outdated comment
ataromoku File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
presets: [ | ||
"@babel/preset-env", "@babel/preset-react" | ||
], | ||
plugins: ['babel-plugin-rewire'] | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
testTimeout: 30000, | ||
testEnvironment: "jsdom", | ||
transform: { | ||
'^.+\\.js$': 'babel-jest', | ||
}, | ||
transformIgnorePatterns: [ | ||
"node_modules/(?!(\@?lit|lit-html|lit-element|sinon|react-valence-ui-iframe|react-frau-intl)/)" | ||
], | ||
testPathIgnorePatterns: [ | ||
"/__tests__/utils/" | ||
], | ||
moduleFileExtensions: ['js', 'jsx', 'json', 'node'] | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would we want the latest version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, the last version this code works with is the 2018