[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:

> vscode-mc-shader@0.0.1 test /drone/src/github.com/Strum355/vscode-mc-shader
> npm run compile && node ./node_modules/vscode/bin/test

> vscode-mc-shader@0.0.1 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