Skip to content

Instantly share code, notes, and snippets.

@brianleroux
Last active August 29, 2015 14:10
Show Gist options
  • Save brianleroux/f4fd2c8aa80b6da49931 to your computer and use it in GitHub Desktop.
Save brianleroux/f4fd2c8aa80b6da49931 to your computer and use it in GitHub Desktop.
import test from 'tape'
import echo from '../'
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()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment