Skip to content

Commit df3a196

Browse files
committed
Added test for vue file
1 parent 9f1abb6 commit df3a196

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

__tests__/test.js

+9
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,12 @@ test('.lint with bad input', async function() {
234234
expect(err).toBeTruthy();
235235
}
236236
});
237+
238+
test('Vue file', async function() {
239+
await pify(chdir)(__dirname);
240+
const data = await documentation.build(
241+
'__tests__/fixture/simple.input.vue',
242+
{}
243+
);
244+
expect(data).toMatchSnapshot();
245+
});

0 commit comments

Comments
 (0)