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

Function expect

packages/happy-app/sources/dev/testRunner.ts:275–275  ·  view source on GitHub ↗
(actual: T)

Source from the content-addressed store, hash-verified

273export const describe = (name: string, fn: () => void) => testRunner.describe(name, fn);
274export const it = (name: string, fn: () => void | Promise<void>) => testRunner.it(name, fn);
275export const expect = <T>(actual: T) => new Expect(actual);
276
277export type { TestResult, TestSuite };

Callers 15

aes.appspec.tsFile · 0.90
base64.appspec.tsFile · 0.90
index.test.tsFile · 0.85
cli-smoke.test.tsFile · 0.85
output.test.tsFile · 0.85
api.test.tsFile · 0.85
config.test.tsFile · 0.85
session.test.tsFile · 0.85

Calls

no outgoing calls

Tested by 7

expectPromptRejectsFastFunction · 0.68
finishFunction · 0.68
rejectedErrorFunction · 0.68
expectNoAttachmentLeaksFunction · 0.68
expectColorCloseFunction · 0.68
expectStringEqualishFunction · 0.68