To mock MSSQL you need to mock the mssql npm module, then create mock implementations of connection, query, close and any other functions that you use.
I'm a TypeScript developer working in the private mental healthcare sector
Markdown supported · ⌘↵ to post
No responses yet.