n8n/packages/cli/test/unit
Iván Ovejero ffae8edce3
refactor(core): Cache workflow ownership (#6738)
* refactor: Set up ownership service

* refactor: Specify cache keys and values

* refactor: Replace util with service calls

* test: Mock service in tests

* refactor: Use dependency injection

* test: Write tests

* refactor: Apply feedback from Omar and Micha

* test: Fix tests

* test: Fix missing spot

* refactor: Return user entity from cache

* refactor: More dependency injection!
2023-07-31 11:37:09 +02:00
..
controllers refactor: Remove pre-setup prompt on owner setup (#6495) 2023-06-22 21:11:38 +02:00
repositories refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
services refactor(core): Cache workflow ownership (#6738) 2023-07-31 11:37:09 +02:00
shared refactor(core): Improve instance owner setup and add unit tests (no-changelog) (#5499) 2023-02-17 10:59:09 +01:00
ActiveExecutions.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
ActiveWorkflowRunner.test.ts refactor(core): Move webhook DB access to repository (no-changelog) (#6706) 2023-07-25 18:17:34 +02:00
CommunityNodeHelpers.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
CredentialsHelper.test.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00
CredentialTypes.test.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
CurlConverterHelper.test.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00
Helpers.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00
License.test.ts feat(API): Implement users account quota guards (#6434) 2023-07-12 14:11:46 +02:00
PermissionChecker.test.ts refactor(core): Cache workflow ownership (#6738) 2023-07-31 11:37:09 +02:00
PostHog.test.ts feat(core): Remove all floating promises. Enforce @typescript-eslint/no-floating-promises (#6281) 2023-05-24 02:01:45 +02:00
SourceControl.test.ts feat: Environments release using source control (#6653) 2023-07-26 09:25:01 +02:00
Telemetry.test.ts fix(core): Do not track errored workflow executions for automated executions (no-changelog) (#6322) 2023-05-28 12:08:46 +02:00
utils.test.ts fix(core): Better error message in Webhook node when using the POST method 2023-05-02 17:27:05 +03:00
WorkflowCredentials.test.ts feat(core): Remove all floating promises. Enforce @typescript-eslint/no-floating-promises (#6281) 2023-05-24 02:01:45 +02:00
WorkflowExecuteAdditionalData.test.ts refactor: Async functions don't need to explicitly return promises (no-changelog) (#6041) 2023-04-24 13:17:08 +02:00
WorkflowHelpers.test.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00