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:
parent
e679d5d975
commit
9a2350a819
@ -32,18 +32,8 @@ test.serial(
|
|||||||
t.plan(0);
|
t.plan(0);
|
||||||
const { request, destroy } = await setupApp('archive_serial2');
|
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
|
return request
|
||||||
.get('/api/admin/features/featureX')
|
.get('/api/admin/features/featureArchivedX')
|
||||||
.set('Content-Type', 'application/json')
|
.set('Content-Type', 'application/json')
|
||||||
.expect(404)
|
.expect(404)
|
||||||
.then(destroy);
|
.then(destroy);
|
||||||
|
Loading…
Reference in New Issue
Block a user