Skip to content

Commit 955d71d

Browse files
author
Andrey Fel
committed
Fix @ember/polyfills deprecation
We can use Object.assign instead
1 parent c249df5 commit 955d71d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/helpers/start-app.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import Application from '../../app';
22
import config from '../../config/environment';
3-
import { merge } from '@ember/polyfills';
43
import { run } from '@ember/runloop';
54

65
export default function startApp(attrs) {
7-
let attributes = merge({}, config.APP);
8-
attributes = merge(attributes, attrs); // use defaults, but you can override;
6+
const attributes = Object.assign({}, config.APP, attrs); // use defaults, but you can override;
97

108
return run(() => {
119
const application = Application.create(attributes);

0 commit comments

Comments
 (0)