fix(investments): align roles and date contracts
Backend security / security (push) Successful in 9s
Backend verify / verify (push) Successful in 10m23s
Backend security / security (pull_request) Successful in 8s
Backend verify / verify (pull_request) Successful in 10m39s
Conventional commits / commits (pull_request) Successful in 29s
Backend security / security (push) Successful in 9s
Backend verify / verify (push) Successful in 10m23s
Backend security / security (pull_request) Successful in 8s
Backend verify / verify (pull_request) Successful in 10m39s
Conventional commits / commits (pull_request) Successful in 29s
Identify income dependencies by role and document screen-specific dates. Convert inclusive calendar days into half-open source ranges while preserving operation timestamps and existing stored coverage.
This commit is contained in:
@@ -62,4 +62,13 @@ describe('manual sync screen boundary', () => {
|
||||
}),
|
||||
).toThrow();
|
||||
});
|
||||
it('keeps independently supplied event dates and rejects an end before the default UTC start', () => {
|
||||
for (const range of [{ from: '2096-02-29' }, { to: '2096-02-29' }]) {
|
||||
const scope = { screen: 'events' as const, accountId: 'all', ...range };
|
||||
expect(normalizeScreen(scope)).toEqual(scope);
|
||||
}
|
||||
expect(() =>
|
||||
normalizeScreen({ screen: 'events', accountId: 'all', to: '2000-01-01' }),
|
||||
).toThrow();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user