diff --git a/lib/transformations/utils.test.js b/lib/transformations/utils.test.js index c0adae775d3..82a3c7a87b6 100644 --- a/lib/transformations/utils.test.js +++ b/lib/transformations/utils.test.js @@ -152,7 +152,7 @@ var a = { plugs: [] } expect(j(literal).toSource()).toMatchSnapshot(); }); it('should create boolean', () => { - const literal = utils.createLiteral(j, 'true'); + const literal = utils.createIdentifierOrLiteral(j, 'true'); expect(j(literal).toSource()).toMatchSnapshot(); }); });