(b: Binding<unknown>)
| 516 | |
| 517 | it('sets up a placeholder value', async () => { |
| 518 | const toBeBound = (b: Binding<unknown>) => { |
| 519 | b.toDynamicValue(() => { |
| 520 | throw new Error(`Binding ${b.key} is not bound to a value yet`); |
| 521 | }); |
| 522 | }; |
| 523 | binding.apply(toBeBound); |
| 524 | ctx.add(binding); |
| 525 | await expect(ctx.get(binding.key)).to.be.rejectedWith( |
nothing calls this directly
no test coverage detected