Skip to content

Instantly share code, notes, and snippets.

@griffinmyers
Created June 26, 2017 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save griffinmyers/7002f16d308cdb254494c5af18d69dbc to your computer and use it in GitHub Desktop.
Save griffinmyers/7002f16d308cdb254494c5af18d69dbc to your computer and use it in GitHub Desktop.
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