From 0c6354fb411a5e9452af4c351fba38d4e86c0283 Mon Sep 17 00:00:00 2001 From: Marcelo Mira Date: Tue, 21 May 2024 12:02:42 -0300 Subject: [PATCH] Removing deprecated '@ember/polyfills' --- tests/helpers/start-app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/helpers/start-app.js b/tests/helpers/start-app.js index 99d35dcf..95663f59 100644 --- a/tests/helpers/start-app.js +++ b/tests/helpers/start-app.js @@ -1,12 +1,11 @@ import Application from '../../app'; import config from '../../config/environment'; -import { merge } from '@ember/polyfills'; import { run } from '@ember/runloop'; export default function startApp(attrs) { let attributes = merge({}, config.APP); attributes.autoboot = true; - attributes = merge(attributes, attrs); // use defaults, but you can override; + attributes = { ...attributes, ...attrs }; // use defaults, but you can override; return run(() => { let application = Application.create(attributes);