test: Split test utilities to improve test times (#2622)

This commit is contained in:
Dermot Duffy
2026-07-26 16:29:53 -07:00
committed by GitHub
parent 8d44fcecf1
commit ad89aa9538
234 changed files with 2730 additions and 2516 deletions
@@ -28,7 +28,7 @@ describe('should handle view action', () => {
await action.execute(api);
expect(api.getViewManager().setViewByParametersWithNewQuery).toBeCalledWith(
expect(api.getViewManager().setViewByParametersWithNewQuery).toHaveBeenCalledWith(
expect.objectContaining({
params: {
view: viewName,
@@ -53,7 +53,7 @@ describe('should handle folder view action', () => {
await action.execute(api);
expect(api.getViewManager().setViewByParametersWithNewQuery).toBeCalledWith(
expect(api.getViewManager().setViewByParametersWithNewQuery).toHaveBeenCalledWith(
expect.objectContaining({
params: {
view: viewName,