Pass derive function as argument

This commit is contained in:
RMidhunSuresh 2022-04-07 11:37:20 +05:30
parent 6d724e27e7
commit bfd73ae52a

View file

@ -108,7 +108,7 @@ module.exports.tests = function tests() {
--my-alias--darker-20: ${transformedColor2.hex()};
}
`;
await run( inputCSS, outputCSS, { }, assert);
await run( inputCSS, outputCSS, {derive}, assert);
},
"compiledVariables map is populated": async (assert) => {
@ -150,7 +150,7 @@ module.exports.tests = function tests() {
--foo-color--darker-5: ${transformedColorDarker.hex()};
}
`;
await run( inputCSS, outputCSS, {}, assert);
await run( inputCSS, outputCSS, {derive}, assert);
}
};
};