Skip to content

Commit b228c17

Browse files
committed
test: add
1 parent c7b9244 commit b228c17

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

test/bin.test.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
'use strict';
2+
process.env.MICRO_APP_TEST = 'true';
3+
4+
/* global expect */
5+
6+
describe('VuePress Bin test', () => {
7+
8+
it('dev run docs', () => {
9+
10+
try {
11+
require('../bin/micro-app-vuepress');
12+
} catch (error) {
13+
console.warn(error);
14+
}
15+
16+
});
17+
18+
});

0 commit comments

Comments
 (0)