Skip to content

Instantly share code, notes, and snippets.

@ginader
Last active August 29, 2015 14:04
Show Gist options
  • Save ginader/617305042a51c7ee7348 to your computer and use it in GitHub Desktop.
Save ginader/617305042a51c7ee7348 to your computer and use it in GitHub Desktop.
Multi line Javascript String
// found here: https://github.com/isaacs/node-tap/blob/master/bin/tap.js#L65
var multi = function(){/*
Usage:
tap <options> <files>
Run the files as tap tests, parse the output, and report the results
Options:
--stderr Print standard error output of tests to standard error.
--tap Print raw tap output.
--diag Print diagnostic output for passed tests, as well as failed.
(Implies --tap)
--gc Expose the garbage collector to tests.
--timeout Maximum time to wait for a subtest, in seconds. Default: 30
--debug Pass the '--debug' flag to node for debugging
--debug-brk Pass the '--debug-brk' flag to node for debugging
--strict Enforce strict mode when running tests.
--harmony Enable harmony features for tests.
--version Print the version of node tap.
--help Print this help.
Please report bugs! https://github.com/isaacs/node-tap/issues
*/}.toString().split(/\n/).slice(1, -1).join("\n");
console.log(multi);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment