Files
orca/src/shared/contextual-tours.test.ts
T
Neil 6607c54984 perf(ci): cut redundant tests and reuse expensive setup (#28669)
* perf(ci): reduce test overhead and reuse expensive build work

* test(ci): keep worker startup outside failure-case deadlines

* test: isolate push fixture advisory locks

* test(ci): preserve fixed drain retry allowance

* Align CI contracts with current triggers and guide content

* Stabilize consolidated reveal scenarios and retain behavioral CI contracts

* Fix upstream lint blockers while retaining behavior and assertions

* Classify global Jira preferences in the WSL migration inventory

* Align Jira test fixtures with startup and build safety checks

* Include package-test routing dependency in CI checkouts and fixtures

* Keep native stream classes intact in transcript dependency tests
2026-10-14 16:14:27 -07:00

19 lines
529 B
TypeScript

import { describe, expect, it } from 'vitest'
import { normalizeContextualTourIds } from './contextual-tours'
describe('contextual tour ids', () => {
it('normalizes persisted ids by removing unknowns and duplicates', () => {
expect(
normalizeContextualTourIds([
'tasks',
'unknown',
'workspace-agent-sessions',
'browser',
'tasks',
null,
'workspace-creation'
])
).toEqual(['tasks', 'workspace-agent-sessions', 'browser', 'workspace-creation'])
})
})