forked from Deuxfleurs/infrastructure
11 lines
315 B
JavaScript
11 lines
315 B
JavaScript
|
import chai from 'chai'
|
||
|
import { readFile } from '../src/io/files.mjs'
|
||
|
const expect = chai.expect
|
||
|
|
||
|
export default [
|
||
|
(async () => {
|
||
|
const dirname = import.meta.url.replace(/^file:\/\//g, '').replace(/io.mjs$/g, '')
|
||
|
expect(await readFile(`${dirname}/../package.json`, 'utf-8')).to.include('Quentin')
|
||
|
})
|
||
|
]
|