Initial Commit

This commit is contained in:
2025-08-16 14:17:46 -04:00
commit 651a21a035
49 changed files with 1347 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import {describe, it, expect} from 'bun:test';
import {assertUnreachable} from '../../src/assertions';
describe(`When asserting unreachable code`, () => {
it(`throws an error`, () => {
const value = 'NEVER_VALUE';
expect(() => assertUnreachable(value)).toThrowError();
});
});