3
Allow access to mocha context from unit tests
Source: Kong/insomnia#3648 · opened by @jswitzer-lulus
Is your feature request related to a problem? Please describe.
Some of our unit tests take longer then 5 seconds to complete. There should be a way to work around this. Currently there is not.
Describe the solution you'd like
A simple solution would be to allow access to the mocha context from the unit test blocks. This would also allow access to a number of other useful mocha features.
Describe alternatives you've considered
A global or test suite level preference would be a nice feature in the future but it seems much more involved.
Some of our unit tests take longer then 5 seconds to complete. There should be a way to work around this. Currently there is not.
Describe the solution you'd like
A simple solution would be to allow access to the mocha context from the unit test blocks. This would also allow access to a number of other useful mocha features.
Describe alternatives you've considered
A global or test suite level preference would be a nice feature in the future but it seems much more involved.
No pledges yet. Be the first to back this.
Comments
Similar requests
Allow user to change Mocha timeout
2 votes · 0 comments
Integrate trigger behavior with unit tests
3 votes · 0 comments
Override Environment for Testing a Request in Unit Tests
3 votes · 0 comments
GraphQL query variable as input in Unit Test
3 votes · 0 comments
Ability to add folders in test suite
2 votes · 0 comments
No comments yet.