1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Fix unstable e2e test

This commit is contained in:
Ivar 2017-11-02 09:37:14 +01:00 committed by Ivar Conradi Østhus
parent e679d5d975
commit 9a2350a819

View File

@ -32,18 +32,8 @@ test.serial(
t.plan(0);
const { request, destroy } = await setupApp('archive_serial2');
await request
.get('/api/admin/features/featureX')
.set('Content-Type', 'application/json')
.expect(200);
await request
.delete('/api/admin/features/featureX')
.set('Content-Type', 'application/json')
.expect(200);
return request
.get('/api/admin/features/featureX')
.get('/api/admin/features/featureArchivedX')
.set('Content-Type', 'application/json')
.expect(404)
.then(destroy);