fuzzyworld

explodorama / files / test / channel.test.ts

channel.test.ts

Blame: the commit that last changed each line · file · history

bb3823d2 2026-10-31 Pavel Safronov1import { describe, expect, it } from 'vitest'
b89399da 2026-11-01 Pavel Safronov2import { CHANNEL, NEXT_PATH, STABLE_PATH, storageKey } from '../src/channel'
bb3823d2 2026-10-31 Pavel Safronov3
4describe('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 Safronov9 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 Safronov13})