explodorama / files / test / channel.test.ts
channel.test.ts
bb3823d2 2026-10-31 Pavel Safronov | 1 | import { describe, expect, it } from 'vitest' |
b89399da 2026-11-01 Pavel Safronov | 2 | import { CHANNEL, NEXT_PATH, STABLE_PATH, storageKey } from '../src/channel' |
bb3823d2 2026-10-31 Pavel Safronov | 3 | |
| 4 | describe('channels (user request, 2026-10-31)', () => { | |
| 5 | it('tests run as the local copy, with the released copy’s key names', () => { | |
| 6 | expect(CHANNEL).toBe('local') | |
| 7 | expect(storageKey('run')).toBe('explodorama.run') | |
| 8 | }) | |
b89399da 2026-11-01 Pavel Safronov | 9 | it('the paths are worked out from the addresses in package.json', () => { |
| 10 | expect(STABLE_PATH).toBe('/explodorama/') | |
| 11 | expect(NEXT_PATH).toBe('/explodorama-next/') | |
| 12 | }) | |
bb3823d2 2026-10-31 Pavel Safronov | 13 | }) |