Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const Jasmine = require('jasmine');
const SpecReporter = require('jasmine-spec-reporter');
const runner = new Jasmine();
runner.configureDefaultReporter({ print: function() {} });
runner.addReporter(new SpecReporter());
runner.loadConfig({
spec_dir: 'test/visual-diff',
spec_files: ['diff-test.js'],
stopSpecOnExpectationFailure: false,
random: false
});
runner.execute();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.