Skip to content

Commit a24bd35

Browse files
committed
refactor: remove unnecessary code from tests
1 parent a628d89 commit a24bd35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/languages/apple/Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Tests: XCTestCase {
3232

3333
// reset configs
3434
client.setProject("console")
35-
try client.setEndpointRealtime("ws://cloud.appwrite.io/v1")
35+
client.setEndpointRealtime("ws://cloud.appwrite.io/v1")
3636

3737
let foo = Foo(client)
3838
let bar = Bar(client)

tests/languages/web/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function start() {
8383
}
8484

8585
try {
86-
response = client.setEndpoint("htp://cloud.appwrite.io/v1");
86+
client.setEndpoint("htp://cloud.appwrite.io/v1");
8787
} catch(error) {
8888
console.log(error.message);
8989
}

0 commit comments

Comments
 (0)