mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-22 12:09:48 -04:00
* Vendor the test-tap library * Set up a browser harness * Add some tests to the test suite
21 lines
368 B
JavaScript
21 lines
368 B
JavaScript
/** @interface */
|
|
class TapRenderer {
|
|
/** Renders output for the test results
|
|
* @param {string} text
|
|
*/
|
|
out(text) {
|
|
}
|
|
|
|
/** Diagnostic formatter for TAP Output.
|
|
*
|
|
* @param {Array<string>} lines
|
|
*/
|
|
comment(lines) {
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @typedef TapSuite
|
|
* @type {Array<{'plan': Number, name: string, 'test': function(Tap)}}
|
|
*/
|