candidates and board ui agent issue
Some checks failed
CI / check (push) Failing after 4m58s

This commit is contained in:
2026-09-05 10:46:06 +05:30
parent e02a0c23d4
commit 6249e00a3a
78 changed files with 15071 additions and 1998 deletions

19
scripts/stubs/react-hot-toast.js vendored Normal file
View File

@@ -0,0 +1,19 @@
/**
* A no-op stand-in for `react-hot-toast`, used only by scripts/skill-check.mjs.
*
* The real package evaluates `goober`, which calls `document.createElement` the
* moment it is imported. That makes the whole design-system barrel — and so the
* Owliver block renderers — impossible to load in Node, which would leave the
* citation tests asserting on block objects rather than on rendered markup.
*
* Nothing under test ever raises a toast, so a stub costs nothing and buys the
* stronger assertion: the real renderers, producing real HTML.
*/
const noop = () => '';
export const toast = Object.assign(noop, {
success: noop, error: noop, loading: noop, custom: noop, dismiss: noop, remove: noop, promise: noop,
});
export const Toaster = () => null;
export const useToaster = () => ({ toasts: [], handlers: {} });
export const useToasterStore = () => ({ toasts: [] });
export default toast;