[Question] how to run VSCode tests

Microsoft provide info on how to run testing for Visual Studio Code Extension on travis here, however, the script (even with the if statement removed) doesnt work. Without the script, i get the following error:

> [email protected] test /drone/src/github.com/Strum355/vscode-mc-shader
> npm run compile && node ./node_modules/vscode/bin/test

> [email protected] compile /drone/src/github.com/Strum355/vscode-mc-shader
> tsc -p ./

src/extension.ts(3,25): error TS2307: Cannot find module 'vscode'.
src/linter/glslProvider.ts(3,25): error TS2307: Cannot find module 'vscode'.

My package.json etc can be found here. Thanks for any help