1
0
Fork 0

fix(test): set mutate option for test contexts

This commit is contained in:
ssube 2019-07-11 00:16:00 -05:00
parent 30ab437da3
commit 72920b29a2
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,7 @@ describe('rule visitor', () => {
coerce: false,
defaults: false,
logger: new ConsoleLogger(),
mutate: false,
});
const data = {};
const rule = new Rule({
@ -134,6 +135,7 @@ describe('rule visitor', () => {
coerce: false,
defaults: false,
logger: new ConsoleLogger(),
mutate: false,
});
const data = {};
const rule = new Rule({

View File

@ -8,6 +8,7 @@ describe('visitor context', () => {
coerce: false,
defaults: false,
logger: new ConsoleLogger(),
mutate: false,
});
const nextCtx = firstCtx.mergeResult({