-
Notifications
You must be signed in to change notification settings - Fork 17
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
Update deps #24
Merged
Merged
Update deps #24
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
212a763
Update deps
TheJaredWilcurt 8594503
Merge branch 'main' into update-deps
TheJaredWilcurt 298405d
rename data-test
TheJaredWilcurt 6a8e6ca
Remove props reference in test
TheJaredWilcurt 362873d
Merge branch 'main' into update-deps
TheJaredWilcurt 7132ee5
Merge branch 'main' into update-deps
TheJaredWilcurt f00ab1a
Remove warning for mounting Vue
TheJaredWilcurt bfda137
skip dist-vue
TheJaredWilcurt abfde5e
update happy dom dep
TheJaredWilcurt 0ef7ef2
Lint
TheJaredWilcurt cd445b3
pin dep to avoid coverage bug
TheJaredWilcurt 16b3876
Manifest comment
TheJaredWilcurt d12a104
README
TheJaredWilcurt 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
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
/* c8 ignore start */ | ||
const express = require('express'); | ||
|
||
const app = express(); | ||
app.use(express.static('./dist-vue')); | ||
app.listen(4185); | ||
/* c8 ignore stop */ | ||
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,8 @@ | ||
import { app } from '@/main.js'; | ||
|
||
describe('main.js', () => { | ||
test('Creates Vue app', () => { | ||
expect(app?._component?.name) | ||
.toEqual('App'); | ||
}); | ||
}); |
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 |
---|---|---|
|
@@ -2,6 +2,8 @@ import vueSnapshotSerializer from './serializer.js'; | |
|
||
expect.addSnapshotSerializer(vueSnapshotSerializer); | ||
|
||
global.document = global.window.document; | ||
document.body.innerHTML = '<div id="app"></div>'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now that |
||
const { getComputedStyle } = window; | ||
|
||
// Prevents console log message to install Vue DevTools | ||
|
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.
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.
Example server stub, ignoring for test coverage as it's the most basic express usage possible, so no need to deal with mocking this for tests, and it is simple specifically so people can easily replace it. Adding c8 ignores so they can more easily add coverage to the server.js if it has more custom logic.