(baseReporterDecorator)
| 1 | const SeedReporter = function(baseReporterDecorator) { |
| 2 | baseReporterDecorator(this); |
| 3 | |
| 4 | this.onBrowserComplete = function(browser, result) { |
| 5 | if (result.order && result.order.random && result.order.seed) { |
| 6 | this.write('%s: Randomized with seed %s\n', browser, result.order.seed); |
| 7 | } |
| 8 | }; |
| 9 | }; |
| 10 | |
| 11 | module.exports = { |
| 12 | 'reporter:jasmine-seed': ['type', SeedReporter] |
nothing calls this directly
no outgoing calls
no test coverage detected