diff --git a/__tests__/index-test.es6 b/__tests__/index-test.es6 index ae70121..4b35484 100644 --- a/__tests__/index-test.es6 +++ b/__tests__/index-test.es6 @@ -52,3 +52,10 @@ CODE.forEach(src => { t.end(); }) }); + +const CODE_EXP = 'const val = 10;
'; +test(CODE_EXP, t => { + const code = getCode(CODE_EXP); + t.ok(code.indexOf('transform: "translateX(10)"') !== -1); + t.end(); +});