Skip to content

Commit a892ff4

Browse files
committed
fix specs for subdomain-less guide links
1 parent 8298571 commit a892ff4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

helpers/migration-guide-url-for.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ describe('Helper: migration-guide-url-for', () => {
66
it('returns the main migration guide for vue', () => {
77
expect(
88
migrationGuideUrlFor('vue')
9-
).toBe('http://rc.vuejs.org/guide/migration.html')
9+
).toBe('http://vuejs.org/guide/migration.html')
1010
})
1111

1212
it('returns a suffixed migration guide for companion libraries', () => {
1313
expect(
1414
migrationGuideUrlFor('vue-router')
15-
).toBe('http://rc.vuejs.org/guide/migration-vue-router.html')
15+
).toBe('http://vuejs.org/guide/migration-vue-router.html')
1616
expect(
1717
migrationGuideUrlFor('vuex')
18-
).toBe('http://rc.vuejs.org/guide/migration-vuex.html')
18+
).toBe('http://vuejs.org/guide/migration-vuex.html')
1919
})
2020
})

helpers/report-warning.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const reportWarning = require('./report-warning')
44

5-
describe('Helper: report-summary', () => {
5+
describe('Helper: report-warning', () => {
66
it('prints the correct output for a simple deprecation', () => {
77
const stdout = catchLog(() => {
88
reportWarning({
@@ -22,7 +22,7 @@ describe('Helper: report-summary', () => {
2222
1. ddd
2323
Line bbb: /foo/bar/baz.js
2424
Reason: ccc
25-
More info: http://rc.vuejs.org/guide/migration-yyy.html#eee`)
25+
More info: http://vuejs.org/guide/migration-yyy.html#eee`)
2626
})
2727

2828
it('prints the correct output for a simple vue deprecation', () => {
@@ -44,6 +44,6 @@ describe('Helper: report-summary', () => {
4444
2. ddd
4545
Line bbb: /foo/bar/baz.js
4646
Reason: ccc
47-
More info: http://rc.vuejs.org/guide/migration.html#eee`)
47+
More info: http://vuejs.org/guide/migration.html#eee`)
4848
})
4949
})

0 commit comments

Comments
 (0)