mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Adjust module ids in tests to workaround r.js issue
This commit is contained in:
parent
6fecefa24b
commit
4ecd94aff9
1 changed files with 4 additions and 1 deletions
|
|
@ -2,11 +2,14 @@ var requirejs = require("requirejs");
|
||||||
|
|
||||||
requirejs.config({
|
requirejs.config({
|
||||||
baseUrl: 'out',
|
baseUrl: 'out',
|
||||||
|
paths: {
|
||||||
|
'vs/language/typescript': __dirname + '/../out'
|
||||||
|
},
|
||||||
nodeRequire: require
|
nodeRequire: require
|
||||||
});
|
});
|
||||||
|
|
||||||
requirejs([
|
requirejs([
|
||||||
'test/tokenization.test'
|
'vs/language/typescript/test/tokenization.test'
|
||||||
], function() {
|
], function() {
|
||||||
run(); // We can launch the tests!
|
run(); // We can launch the tests!
|
||||||
});
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue