How to use the supertap.start function in supertap

To help you get started, we’ve selected a few supertap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github avajs / ava / lib / reporters / tap.js View on Github external
startRun(plan) {
		if (plan.files.length > 1) {
			this.prefixTitle = (testFile, title) => prefixTitle(plan.filePathPrefix, testFile, title);
		}

		plan.status.on('stateChange', evt => this.consumeStateChange(evt));

		this.reportStream.write(supertap.start() + os.EOL);
	}

supertap

Generate TAP output

MIT
Latest version published 3 years ago

Package Health Score

56 / 100
Full package analysis