mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
14 lines
425 B
JavaScript
14 lines
425 B
JavaScript
exports.check = function(marko, markoCompiler, expect, helpers, done) {
|
|
var configModulePath = require.resolve('../../../../compiler/config');
|
|
var config = require(configModulePath);
|
|
|
|
var globalConfig = global.__MARKO_CONFIG;
|
|
expect(config).to.equal(globalConfig);
|
|
|
|
delete require.cache[configModulePath];
|
|
|
|
config = require(configModulePath);
|
|
expect(config).to.equal(globalConfig);
|
|
|
|
done();
|
|
}; |