mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 07:05:12 +00:00
fix(cypress): pass {}
as a parameter for /api/reset-db
(#9355)
This commit is contained in:
parent
52cbe07a78
commit
72e7909911
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ Cypress.Commands.add('resetState', () => {
|
|||
cy.window(win => {
|
||||
win.indexedDB.deleteDatabase('keyval-store');
|
||||
});
|
||||
cy.request('POST', '/api/reset-db').as('reset');
|
||||
cy.request('POST', '/api/reset-db', {}).as('reset');
|
||||
cy.get('@reset').its('status').should('equal', 204);
|
||||
cy.reload(true);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue