-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
feat: Refine Node API & Improve test [WIP] #1395
Merged
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1f73c84
Merge branch 'master' into improve-tests
ulivz cecaece
test: refine test api
ulivz 0fa4347
chore: don't know why I need it...
ulivz a772871
refactor($core): simplify prepare api
ulivz a734ef5
refactor: continue to simplify prepare api
ulivz 27f9f90
chore: fix typo in dir name
ulivz a28d700
feat($core): refine node.js api
ulivz aa2fe03
docs: add view-info script for quick testing
ulivz 3ead03d
fix($plugin-container): cannot get correct info
ulivz c6ddba8
test($plugin-container): init
ulivz 2338f99
test: remove unnecessary presets
ulivz ebfb2c6
chore: positions of test cases
ulivz 5789490
chore: remove outdated test cases
ulivz b0c8744
chore: bump vue-jest to support babel@7
ulivz de109e7
test: fixed
ulivz b9586d9
test: fix temp dir to avoid being cleared.
ulivz 3ce23df
support test on windows
shigma c9bfcf4
add theme inheritance tip and remove unnecessary logs
shigma bec1488
remove temporary cli test plugin
shigma 3d19f40
test: fix import code snippet test (#1398)
shigma bd2cce1
docs: api (#1397)
shigma 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 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 |
---|---|---|
|
@@ -29,7 +29,9 @@ | |
"execa": "^0.10.0", | ||
"jest-serializer-vue": "^1.0.0", | ||
"ts-jest": "^23.10.5", | ||
"vue-jest": "^4.0.0-beta.1" | ||
"vue": "^2.5.16", | ||
"vue-jest": "^4.0.0-beta.1", | ||
"vue-template-compiler": "^2.5.16" | ||
}, | ||
"author": "ULIVZ <[email protected]>", | ||
"license": "MIT", | ||
|
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.
The jest runner is running under a child process, this change will cause the fail of
debug
since--inspect-brk
is a node-level flag.To make debug work, we need ensure that Parent and child process won't share the same inspecting port;
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.
We can merge this feature request first, and I believe this is not the real reason why Windows can't run test. Looking forward to your PR later. 😉