Skip to content

Commit 1cdde26

Browse files
committed
test: the default project lint result should be an empty string
1 parent 6c35aba commit 1cdde26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/index.spec.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ async function lintProject (name) {
1717
}
1818

1919
test('a default project should pass lint', async () => {
20-
await lintProject('default')
20+
const { stdout } = await lintProject('default')
21+
expect(stdout).toEqual('')
2122
})
2223

2324
test('should lint .ts file', async () => {

0 commit comments

Comments
 (0)