Sessions 5-7a: 955 tests, deployment ready
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
const { FOUNDER_NOTE } = require('../../src/constants/founderNote');
|
||||
|
||||
describe('FOUNDER_NOTE immutability', () => {
|
||||
test('starts with "VYNDR is a bet"', () => {
|
||||
expect(FOUNDER_NOTE.trimStart().startsWith('VYNDR is a bet')).toBe(true);
|
||||
});
|
||||
|
||||
test('contains "Bet on Black"', () => {
|
||||
expect(FOUNDER_NOTE).toContain('Bet on Black');
|
||||
});
|
||||
|
||||
test('is not empty', () => {
|
||||
expect(FOUNDER_NOTE.trim().length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
test('content hash matches original', () => {
|
||||
// Exact line count check — any modification breaks this
|
||||
const lines = FOUNDER_NOTE.trim().split('\n');
|
||||
expect(lines.length).toBe(26);
|
||||
expect(FOUNDER_NOTE).toContain('Draw your own conclusions.');
|
||||
expect(FOUNDER_NOTE).toContain('reverse that flow');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user