MCPcopy Create free account
hub / github.com/Noumena-Network/code / makeSession

Function makeSession

src/components/ResumeTask.renderSnapshot.test.tsx:95–114  ·  view source on GitHub ↗
(
  id: string,
  title: string,
  updatedAt: string,
)

Source from the content-addressed store, hash-verified

93})
94
95function makeSession(
96 id: string,
97 title: string,
98 updatedAt: string,
99): CodeSession {
100 return {
101 id,
102 title,
103 description: '',
104 status: 'idle',
105 repo: {
106 name: 'ncode',
107 owner: { login: 'noumena' },
108 default_branch: 'main',
109 },
110 turns: [],
111 created_at: '2026-04-22T00:00:00Z',
112 updated_at: updatedAt,
113 }
114}
115
116describe('ResumeTask rendered snapshots', () => {
117 test('renders the session selection surface', async () => {

Calls

no outgoing calls

Tested by

no test coverage detected