nkprasad12 / dnd

Web application for TTRPGs.
MIT License
1 stars 0 forks source link

Spell loader calls GoogleCloudStorage in unit testing #127

Closed nkprasad12 closed 3 years ago

nkprasad12 commented 3 years ago

The server test calls registerChatRoutes during unit testing, which means that spellLoader.load(https://github.com/nkprasad12/dnd/blob/eee378b611a68e4d2c30e1f4548b1264c56d9663/src/server/chat/chat_socket.ts#L28) is called during testing, which by default tries to call Google Cloud Storage.

There are two possibilities here: