MCPcopy Create free account
hub / github.com/chartjs/Chart.js / SeedReporter

Function SeedReporter

test/seed-reporter.cjs:1–9  ·  view source on GitHub ↗
(baseReporterDecorator)

Source from the content-addressed store, hash-verified

1const 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
11module.exports = {
12 'reporter:jasmine-seed': ['type', SeedReporter]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected