From cc45f9803b14ab1c1d1b1d4d9e84f312b7fb51a9 Mon Sep 17 00:00:00 2001 From: Bert De Block Date: Fri, 18 Aug 2023 08:24:38 +0200 Subject: [PATCH] Fix node tests --- node-tests/addon-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-tests/addon-test.js b/node-tests/addon-test.js index 486c99b4..d09dc08b 100644 --- a/node-tests/addon-test.js +++ b/node-tests/addon-test.js @@ -1242,7 +1242,7 @@ describe('ember-cli-babel', function() { expect( output.read() ).to.deep.equal({ - 'foo.js': `define("foo", [], function () {\n "use strict";\n\n var foo = "hi";\n});` + 'foo.js': `define("foo", [], function () {\n "use strict";\n\n let foo = "hi";\n});` }); })); @@ -2048,7 +2048,7 @@ describe('EmberData Packages Polyfill', function() { assembleLines([ `Object.defineProperty(_exports, "default", {`, ` enumerable: true,`, - ` get: function get() {`, + ` get: function () {`, ` return _emberData.default;`, ` }`, `});`