import { describe, expect, it } from 'vitest'; import { EXPORT_FORMAT, EXPORT_VERSION } from '#lib/export-format.ts'; /** * Changing one of these is a decision about every archive already on disk, which is * why the test fails on purpose. An end-to-end test compares the exported file against * `EXPORT_VERSION`; this file stops the constant drifting alone. */ describe('the archive format', () => { it('keeps the name older archives were written with', () => { expect(EXPORT_FORMAT).toBe('fablewright-manuscript'); }); it('declares the version an archive of this build carries', () => { expect(EXPORT_VERSION).toBe(1); }); });