aboutsummaryrefslogtreecommitdiff
path: root/docker/netiquette/test/io.mjs
blob: d88ad15e196bca62fe6727b21e34aff8516fbc26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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')
  })
]