fuzzyworld

explodorama / files / test / channel.test.ts

channel.test.ts

534 B · history · blame

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