Skip to content

Commit

Permalink
test: fix unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgmagalhaes committed May 14, 2023
1 parent a8c8ec5 commit c654480
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion e2e/tsconfig.json
Expand Up @@ -7,6 +7,7 @@
"files": ["../src/global/index.d.ts"],
"compilerOptions": {
"preserveSymlinks": true,
"typeRoots": ["../src/global"]
"typeRoots": ["../src/global"],
"types": ["node"]
}
}
3 changes: 2 additions & 1 deletion tests/command/message/respond.test.ts
Expand Up @@ -146,7 +146,8 @@ describe(`testing ${testName} function`, () => {
const report = await debugCon()
.should.inChannel(channelId)
.respond(mockDiscord.message.content);
expect(report).toEqual(failReport);

expect(report).toMatchObject(failReport);
});

it("should get fail test due to bot returned different messages (expect primitive and returned embed)", async () => {
Expand Down

0 comments on commit c654480

Please sign in to comment.