UNPKG

boip

Version:

a command line application that creates a new project from a boilerplate stored on GitHub

13 lines (11 loc) 322 B
const readFile = require('../readFile') /** @test {readFile} */ test('readFile', async () => { const res = await readFile('./.gitignore') expect(res).toMatch(/.DS_Store/) }) /** @test {readFile} */ test('readFile unknown filepath', async () => { const res = await readFile('./hogehoge') expect(res).toBeNull() })