mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
properly reset writeToDisk if a test sets it to false
This commit is contained in:
parent
176ed13463
commit
bb3d06fd37
@ -57,7 +57,7 @@ describe('render', function() {
|
||||
}
|
||||
} finally {
|
||||
if (main.writeToDisk === false) {
|
||||
require('marko/compiler').defaultOptions.writeToDisk = false;
|
||||
delete require('marko/compiler').defaultOptions.writeToDisk;
|
||||
}
|
||||
|
||||
if (main.preserveWhitespaceGlobal === true) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user