Skip to content

Commit 12c13a8

Browse files
committed
more try and fail
1 parent d9de141 commit 12c13a8

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

cypress/integration/item-spec.js

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,25 @@ describe('Item', () => {
2323
const extensions = {
2424
filters: { timeAgo, host }
2525
}
26+
const html = `
27+
<html>
28+
<head></head>
29+
<body>
30+
<div id="app"></div>
31+
<script src="https://unpkg.com/vue@2.5.3"></script>
32+
</body>
33+
</html>
34+
`
35+
// <script src="https://unpkg.com/vue-router@3.0.1"></script>
36+
// hmm, when adding the vue router getting an error inside the RouterLink
37+
// render function
38+
// var router = this.$router;
39+
// var current = this.$route;
40+
// var ref = router.resolve(this.to, current, this.append);
41+
// this.$router is undefined
42+
// Seems VueRouter.install(Vue) did not go well
2643
const options = {
27-
vue: 'https://unpkg.com/vue',
44+
html,
2845
extensions
2946
}
3047

0 commit comments

Comments
 (0)