Skip to content

Instantly share code, notes, and snippets.

@pcanterini

pcanterini/tape.js

Created Nov 10, 2015
Embed
What would you like to do?
tape example test
import test from 'tape';
// For each unit test you write,
// answer these questions:
test('What component aspect are you testing?', assert => {
const actual = 'What is the actual output?';
const expected = 'What is the expected output?';
assert.equal(actual, expected,
'What should the feature do?');
assert.end();
});
@pcanterini

This comment has been minimized.

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.