Skip to content

Commit e337156

Browse files
fixes tests
1 parent 8d79f51 commit e337156

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/example/components/uuid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
uuid: {
1313
type: String,
1414
default: 'missing',
15-
required: false
15+
required: true
1616
}
1717
},
1818
data: function () {

tests/utils/string.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const components = {
145145

146146
const componentsString = routeComponentsToString(components);
147147
test('Route components', (t) => {
148-
t.is(componentsString.includes(`{myview0: __mycomponent0,myview1: __mycomponent1,myview3: __mycomponent2,}`), true);
148+
t.is(componentsString.includes(`{myview0: __mycomponent0,myview1: __mycomponent1,myview3: __mycomponent2}`), true);
149149
});
150150

151151
// Test scriptToString() using properties named 'component' and 'components'

0 commit comments

Comments
 (0)