json-theme-even-fork/test/render.js

10 lines
186 B
JavaScript

const { test } = require('tap')
const { render } = require('..')
const resume = require('./resume.json')
test('renders a resume', t => {
t.matchSnapshot(render(resume))
t.end()
})