2020-07-05 13:30:25 +02:00
|
|
|
const { test } = require('tap')
|
|
|
|
|
2020-07-05 14:19:26 +02:00
|
|
|
const { render } = require('..')
|
2020-07-05 13:30:25 +02:00
|
|
|
const resume = require('./resume.json')
|
|
|
|
|
|
|
|
test('renders a resume', t => {
|
2020-07-05 14:19:26 +02:00
|
|
|
t.matchSnapshot(render(resume))
|
|
|
|
t.end()
|
2020-07-05 13:30:25 +02:00
|
|
|
})
|