explodorama / files / test / channel.test.ts
channel.test.ts
| 1 | import { describe, expect, it } from 'vitest' |
| 2 | import { CHANNEL, NEXT_PATH, STABLE_PATH, storageKey } from '../src/channel' |
| 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 | }) |
| 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 | }) |
| 13 | }) |