alitnk / monopay

💳 A node.js package for making payment transactions with different payment gateways
https://monopay.js.org
MIT License
114 stars 19 forks source link

Allowing `@ts-ignore` in test files #40

Closed Keivan-sf closed 2 years ago

Keivan-sf commented 2 years ago

We might want to use @ts-ignore in some test files to simulate a javscript user or even a typescript user who is ignoring the types. So that we can test the parsing exceptions correctly.

Tests are not failing but the error is shown in the editor anyway. I'm not sure it's just my vscode config or the project eslint config. But even if it's local we better define a config in .vscode to stop it.

I'd look into this one later. It's not a major issue 🙂