From 9ea1965fd5b644ef09b22a06fb787067bc7dff9e Mon Sep 17 00:00:00 2001 From: Even Stensberg Date: Tue, 9 May 2017 19:54:55 +0200 Subject: [PATCH] fix: use correct test function --- lib/transformations/utils.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); });