mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 03:17:00 +00:00
Use Shared TypeScript to Compile VSCode Colorizer Tests (#25858)
**Bug** Colorizer-tests currently installs an old version of typescript **Fix** Switch to using the standard typescript that all other extensions use. Also switch over to using the shared `vscode.d.ts` file
This commit is contained in:
parent
e8b01da790
commit
721f880cfd
|
@ -8,14 +8,12 @@
|
|||
"vscode": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:vscode-colorize-tests ./tsconfig.json",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^2.2.38",
|
||||
"@types/node": "^7.0.4",
|
||||
"typescript": "^1.6.2",
|
||||
"vscode": "1.0.1"
|
||||
}
|
||||
}
|
|
@ -38,7 +38,7 @@ function assertUnchangedTokens(testFixurePath: string, done) {
|
|||
}, done);
|
||||
}
|
||||
|
||||
suite("colorization", () => {
|
||||
suite('colorization', () => {
|
||||
let extensionsFolder = normalize(join(__dirname, '../../'));
|
||||
let extensions = fs.readdirSync(extensionsFolder);
|
||||
extensions.forEach(extension => {
|
||||
|
|
Loading…
Reference in a new issue