MCPcopy
hub / github.com/slopus/happy / expectStringEqualish

Function expectStringEqualish

packages/codium/sources/theme/__tests__/derive.test.ts:143–146  ·  view source on GitHub ↗
(actual: string, expected: string, label: string)

Source from the content-addressed store, hash-verified

141/* ---------- tests ---------- */
142
143function expectStringEqualish(actual: string, expected: string, label: string) {
144 // Strings (font family, sizes, contrast number) compared verbatim.
145 expect(actual, label).toBe(expected)
146}
147
148describe('Codex chrome theme parity (all inline-style tokens)', () => {
149 for (const snap of snapshots) {

Callers 1

derive.test.tsFile · 0.85

Calls 2

expectFunction · 0.85
toBeMethod · 0.80

Tested by

no test coverage detected