attempts of making composer actions test more resilient

This commit is contained in:
Joffrey JAFFEUX 2018-05-23 19:57:12 +02:00 committed by GitHub
parent a45d8a69f9
commit ae004d8b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,10 +1,14 @@
import { acceptance } from 'helpers/qunit-helpers'; import { acceptance } from 'helpers/qunit-helpers';
import { _clearSnapshots } from 'select-kit/components/composer-actions';
acceptance('Composer Actions', { acceptance('Composer Actions', {
loggedIn: true, loggedIn: true,
settings: { settings: {
enable_whispers: true enable_whispers: true
} },
beforeEach() {
_clearSnapshots();
},
}); });
QUnit.test('replying to post', async assert => { QUnit.test('replying to post', async assert => {