Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 691503b

Browse files
authored
use json-server 0.16.1 (#219)
* use json-server 0.16.1 * do not overwrite data.json file * fix lint
1 parent 489cda9 commit 691503b

File tree

3 files changed

+334
-396
lines changed

3 files changed

+334
-396
lines changed

cypress/integration/14-fixtures/answer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ context('reading todos.json', () => {
9595
})
9696
})
9797

98-
it('saves todo', () => {
98+
// NOT RECOMMENDED
99+
// because json-server can restart itself on file change
100+
// and not bind to its port :( and never start again
101+
it.skip('saves todo', () => {
99102
cy.request('POST', '/reset', { todos: [] })
100103
cy.visit('/')
101104
cy.get('.new-todo').type('for test{enter}')

0 commit comments

Comments
 (0)