import test from 'brittle' import { readFile } from 'node:fs/promises' import { dirname, join } from 'node:path' import { fileURLToPath } from 'node:url' const __dirname = dirname(fileURLToPath(import.meta.url)) const kernelSay = join(__dirname, '../../../kernel/bin/say') const kernelBaresay = join(__dirname, '../../../kernel/bin/baresay') test('shipped kernel/bin/say matches kernel/bin/baresay bundle', async (t) => { const a = await readFile(kernelBaresay, 'utf8') const b = await readFile(kernelSay, 'utf8') t.is(a, b, 'say should be same concatenated bundle as baresay') })