Skip to content

Commit

Permalink
Add a legit test
Browse files Browse the repository at this point in the history
  • Loading branch information
benwis committed Jun 16, 2022
1 parent a3e613b commit 1598eea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __test__/index.spec.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'ava'

import { sum } from '../index.js'
import { renderMarkdown } from '../index.js'

test('sum from native', (t) => {
t.is(sum(1, 2), 3)
test('render Hello World', (t) => {
t.is(renderMarkdown("# Hello, world"), `<h1>Hello, world</h1>\n`)
})

0 comments on commit 1598eea

Please sign in to comment.