mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
fix(tests): Make .mocharc.js CWD-independent (#7329)
Move tests/browser/test/.mocharc.js to tests/browser and use __dirname to make the require directive work regardless of where mocha is invoked from. Simplify the browser:test script accordingly, taking advantage also of the mocha default of running all tests in the test/ subdirectory.
This commit is contained in:
committed by
GitHub
parent
1fe82b2354
commit
889310726e
@@ -2,5 +2,5 @@
|
||||
|
||||
module.exports = {
|
||||
ui: 'tdd',
|
||||
require: 'tests/browser/test/hooks.js',
|
||||
require: __dirname + '/test/hooks.js',
|
||||
};
|
||||
Reference in New Issue
Block a user