Skip to content

A platform for community discussion. Free, open, simple.

attempts of making composer actions test more resilient

Joffrey JAFFEUXae004d8b2b4a
diff --git a/test/javascripts/acceptance/composer-actions-test.js.es6 b/test/javascripts/acceptance/composer-actions-test.js.es6
index 690696cf0c3..cf9ad80e0e4 100644
--- a/test/javascripts/acceptance/composer-actions-test.js.es6
+++ b/test/javascripts/acceptance/composer-actions-test.js.es6
@@ -1,10 +1,14 @@
import { acceptance } from 'helpers/qunit-helpers';
+import { _clearSnapshots } from 'select-kit/components/composer-actions';
acceptance('Composer Actions', {
loggedIn: true,
settings: {
enable_whispers: true
- }
+ },
+ beforeEach() {
+ _clearSnapshots();
+ },
});
QUnit.test('replying to post', async assert => {