Last active
May 14, 2016 02:33
-
-
Save ericelliott/ca9aa6316920c15fa2c2 to your computer and use it in GitHub Desktop.
bdMjmE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import test from 'tape'; | |
test('A passing test', (assert) => { | |
assert.pass('This test will pass.'); | |
assert.end(); | |
}); | |
test('Assertions with tape.', (assert) => { | |
const expected = 'something to test'; | |
const actual = 'sonething to test'; | |
assert.equal(actual, expected, | |
'Given two mismatched values, .equal() should produce a nice bug report'); | |
assert.end(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment