Adapt to two contract changes master introduced: - The generated Remote face now wraps every business result in RemoteResult, folding carrier failures into an ok:false branch instead of rejecting. The controller reads that envelope at its three call sites and maps a carrier failure onto the same settled shape the controls already render; three specs cover the new branch. - Client packages split their tsconfig into host and client halves, and the host aggregate now compiles any test not named *.client.spec.*. Rename this package's specs to the client convention and drop the ../connection project reference, which pointed at a solution file that no longer carries the client sources. Keep master's mount loop with its rollback-on-failure in api-remotes and add messageFeedbackRemote to it.
38 lines
710 B
Plaintext
38 lines
710 B
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`single-slot mounting (declare + renderSlot) > folds class hashes and collapses svg internals in snapshots, leaving the live DOM alone 1`] = `
|
|
<div
|
|
data-slot="trt.panel"
|
|
>
|
|
<div
|
|
class="frame plain"
|
|
>
|
|
<span
|
|
class="label"
|
|
>
|
|
styled
|
|
</span>
|
|
<svg
|
|
aria-hidden="true"
|
|
data-content="2bfa09dc"
|
|
viewBox="0 0 16 16"
|
|
/>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`single-slot mounting edge arms > serializes childless svg untouched next to scoped classes 1`] = `
|
|
<div
|
|
data-slot="trt.panel"
|
|
>
|
|
<div
|
|
class="frame"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
viewBox="0 0 1 1"
|
|
/>
|
|
</div>
|
|
</div>
|
|
`;
|