Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c4ae44e

Browse files
committed
Bump DTL to 6
1 parent 555532e commit c4ae44e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

‎package-lock.json‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"author": "Daniel Cook",
3232
"license": "MIT",
3333
"dependencies": {
34-
"@testing-library/dom": "^5.6.0",
34+
"@testing-library/dom": "^6.0.0",
3535
"@vue/test-utils": "^1.0.0-beta.29"
3636
},
3737
"devDependencies": {

‎src/vue-testing-library.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createLocalVue, mount } from '@vue/test-utils'
22

33
import {
44
getQueriesForElement,
5-
prettyDOM,
5+
logDOM,
66
wait,
77
fireEvent
88
} from '@testing-library/dom'
@@ -63,7 +63,7 @@ function render(
6363
return {
6464
container: wrapper.element.parentNode,
6565
baseElement: document.body,
66-
debug: (el = wrapper.element) => console.log(prettyDOM(el)),
66+
debug: (el = wrapper.element) => logDOM(el),
6767
unmount: () => wrapper.destroy(),
6868
isUnmounted: () => wrapper.vm._isDestroyed,
6969
html: () => wrapper.html(),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /