MCPcopy Index your code
hub / github.com/TanStack/table / expectPrimitiveValueIs

Function expectPrimitiveValueIs

packages/angular-table/tests/flex-render.test.ts:223–231  ·  view source on GitHub ↗
(
  fixture: ComponentFixture<unknown>,
  value: unknown,
)

Source from the content-addressed store, hash-verified

221>['content']
222
223function expectPrimitiveValueIs(
224 fixture: ComponentFixture<unknown>,
225 value: unknown,
226) {
227 expect(fixture.nativeElement.matches(':empty')).toBe(false)
228 const span = fixture.nativeElement.querySelector('span')
229 expect(span).toBeDefined()
230 expect(span.innerHTML).toEqual(value)
231}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected