Meteor-Community-Packages / meteor-mocha

A Mocha test driver package for Meteor 1.3+. This package reports server AND client test results in the server console and can be used for running tests on a CI server or locally.
https://packosphere.com/meteortesting/mocha
MIT License
67 stars 40 forks source link

Allow running specific server tests or hooks after client tests in full app mode #132

Open Torgen opened 2 years ago

Torgen commented 2 years ago

When running in full app mode, I'd like to do some global checks that need to wait for the client tests to run. For example:

This would require some way of running server code after the client tests finish. Using the describe/it language would be most convenient, but any way of running server code would be fine as long as I can cause the test run to fail.