MCPcopy
hub / github.com/actualbudget/actual / expect

Function expect

packages/loot-core/src/shared/test-helpers.ts:135–140  ·  view source on GitHub ↗
(name: string, data?: T)

Source from the content-addressed store, hash-verified

133 },
134
135 expect(name: string, data?: T) {
136 if (queue.length === 0) {
137 return this.expectWait(name, data);
138 }
139 return this.expectNow(name, data);
140 },
141
142 start() {
143 hasStarted = true;

Calls

no outgoing calls

Tested by 15

_editFieldFunction · 0.68
expectToBeEditingFieldFunction · 0.68
expectErrorToNotExistFunction · 0.68
expectErrorToExistFunction · 0.68
importCsvFunction · 0.68
expectPostedFunction · 0.68
testMappedFunction · 0.68
expectCategoryRuleFunction · 0.68
insertTransactionFunction · 0.68
testHelperFunction · 0.68
expectOrderFunction · 0.68
expectTransactionOrderFunction · 0.68