workflow: support debug single jest test file in vscode (#360)

This commit is contained in:
wangtao0101
2019-10-23 23:20:06 +08:00
committed by Evan You
parent 246cad7459
commit 11d0778f9c
2 changed files with 32 additions and 0 deletions

7
scripts/jest.js Normal file
View File

@@ -0,0 +1,7 @@
/**
* This file is the entry for debug single test file in vscode
*
* Not using node_modules/.bin/jest due to cross platform issues, see
* https://github.com/microsoft/vscode-recipes/issues/107
*/
require('jest').run(process.argv)