Upgrade ember-cli-flash (#2870)
* chore: 🤖 upgrade ember-cli-flash to v6 * chore: 🤖 remove unneeded timer disabling This is no longer needed since the test helpers as of v5 are explicit: disableTimeout and enableTimeout Old world: > Essentially importing this helper would cause the init hook of the FlashObject to become a no-op and disable the timeout running in consuming apps test runs. > To get the same behaviour as "Old world 🌐 " a consuming app needs only to remove the blueprint import. ✅ https://github.com/adopted-ember-addons/ember-cli-flash/pull/392 * chore: 🤖 add @embroider/macros for ember-cli-flash ember-cli-flash requires @embroider/macros as a dev dependency: https://github.com/adopted-ember-addons/ember-cli-flash/pull/392/files/6c5743f424d14143c9309bcb0be8152fdaec11a2#r1369522866 https://github.com/adopted-ember-addons/ember-cli-flash/pull/395
This commit is contained in:
1 parent
f5d612c8b5
commit
b8eb2c3c9b
7 files changed
+100
-81
No files matched your search
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: BUSL-1.1
|
||||
*/
|
||||
|
||||
import FlashObject from 'ember-cli-flash/flash/object';
|
||||
|
||||
FlashObject.reopen({ init() {} });
|
||||
@@ -9,7 +9,6 @@ import * as QUnit from 'qunit';
|
||||
import { setApplication } from '@ember/test-helpers';
|
||||
import { setup } from 'qunit-dom';
|
||||
import start from 'ember-exam/test-support/start';
|
||||
import './helpers/flash-message';
|
||||
|
||||
setApplication(Application.create(config.APP));
|
||||
|
||||
|
||||
Reference in new issue
Block a user