Last active
August 29, 2015 14:10
-
-
Save brianleroux/59ff417cd5aa0a6a7635 to your computer and use it in GitHub Desktop.
This file contains hidden or 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' | |
import echo from '../' | |
import report from 'browserify-tape-spec' | |
test('exists', (t) => { | |
t.ok(test, 'test lib correctly imported') | |
t.end() | |
}) | |
test('echo exists', (t) => { | |
t.ok(echo, 'echo lib correctly imported') | |
t.end() | |
}) | |
test('can echo', (t) => { | |
let str = 'hello world' | |
t.equal(str, echo(str), 'echoed') | |
t.end() | |
}) | |
if (process.browser) test.createStream().pipe(report('out')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment