Skip to content

Commit ec67cf9

Browse files
committed
test: remove reduntant tests
- Checking if ShareXServer is actually exported is redundant because node would throw an error regarding it anyway - The "function properly" test was doing nothing, because it was just testing if the server object existed - we check if it works correctly later, by testing the response of /
1 parent a3c29a5 commit ec67cf9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/index.test.mjs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ before(() => {
2424
});
2525

2626
describe("Basic functionality", () => {
27-
test("is defined", () => {
28-
assert.ok(ShareXServer);
29-
});
30-
31-
test("starts up without issues", async () => {
32-
const server = newServer();
33-
assert.ok(server);
34-
});
35-
3627
test("throws error when password is missing", async () => {
3728
assert.throws(() => new ShareXServer({}));
3829
});

0 commit comments

Comments
 (0)