This was an update of which I cannot remember what it did but it was surely something that I needed so let's commit it. YOLO
CI / check (push) Waiting to run
CI / check (push) Waiting to run
This commit is contained in:
+2
-2
@@ -41,7 +41,7 @@ function stubBridge(): void {
|
||||
write: async (t: string) => { stored = t; writes.push(t) },
|
||||
},
|
||||
git: {
|
||||
load: async () => ({ branch: 'main', changes: [] }),
|
||||
load: async () => ({ branch: 'main', ahead: 0, canPush: false, changes: [] }),
|
||||
stage: async () => {}, unstage: async () => {}, commit: async () => {},
|
||||
push: async () => ({ ok: true, message: '' }), discard: async () => {},
|
||||
},
|
||||
@@ -68,7 +68,7 @@ afterEach(() => {
|
||||
|
||||
async function boot(): Promise<HTMLElement> {
|
||||
const c = render(<ProjectProvider><App /></ProjectProvider>).container
|
||||
await waitFor(() => { if (!c.querySelector('.git-foot')) throw new Error('not ready') })
|
||||
await waitFor(() => { if (!c.querySelector('.commit-box')) throw new Error('not ready') })
|
||||
return c
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user