Skip to content

Commit ce26eb0

Browse files
update tests
1 parent e3d0eeb commit ce26eb0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/stores/Geode.test.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,20 +99,18 @@ describe("Geode Store", () => {
9999
describe("do_ping", () => {
100100
test("request_error", async () => {
101101
geode_store.base_url = ""
102-
geode_store.is_running = true
103102
try {
104103
await geode_store.do_ping()
105104
} catch (e) {
106-
console.log(e)
105+
console.log("e",e)
107106
}
108-
109107
expect(geode_store.is_running).toBe(false)
110108
expect(feedback_store.server_error).toBe(true)
111-
expect(feedback_store.feedbacks.length).toBe(1)
112109
})
113110

114111
test("response", async () => {
115112
geode_store.base_url = ""
113+
geode_store.is_running = true
116114
registerEndpoint(back_schemas.opengeodeweb_back.ping.$id, {
117115
method: "POST",
118116
handler: () => ({}),

0 commit comments

Comments
 (0)