infrastructure/docker/netiquette/test/io.mjs
2019-12-04 18:04:30 +01:00

10 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')
})
]