Add event mocks
This commit is contained in:
parent
8ee5c62481
commit
c3bcf76aac
2 changed files with 6 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -109,6 +109,7 @@ events/
|
|||
/bot.ts
|
||||
|
||||
!tests/__mocks/commands
|
||||
!tests/__mocks/events
|
||||
|
||||
# Linux Environment Files
|
||||
*.swp
|
||||
|
|
5
tests/__mocks/events/name.ts
Normal file
5
tests/__mocks/events/name.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Event } from "../../../src/type/event";
|
||||
|
||||
export class name extends Event {
|
||||
public override channelCreate() {}
|
||||
}
|
Reference in a new issue