feat: Bug fixes and improvements #66
Annotations
10 errors
|
src/common/errors.test.ts > Test file for errors file > Can properly format ApplyValidationError:
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ testPlan src/utils/test-utils.test.ts:18:15
❯ src/common/errors.test.ts:7:18
|
|
src/messages/handlers.test.ts > Message handler tests > Supports ipc message v2 (success):
src/messages/handlers.test.ts#L267
AssertionError: promise rejected "AssertionError: expected { cmd: 'plan_Res… { …(3) }" instead of resolving
❯ src/messages/handlers.test.ts:267:7
Caused by: Caused by: AssertionError: expected { cmd: 'plan_Response', …(3) } to match object { cmd: 'plan_Response', …(2) }
(1 matching property omitted from actual)
- Expected
+ Received
{
"cmd": "plan_Response",
"requestId": "abcdef",
- "status": "success",
+ "status": "error",
}
❯ process.send src/messages/handlers.test.ts:245:23
❯ MessageHandler.handleErrors src/messages/handlers.ts:164:13
❯ MessageHandler.onMessage src/messages/handlers.ts:128:12
❯ src/messages/handlers.test.ts:253:5
|
|
src/plan/plan.test.ts > Plan entity tests > Returns the original resource names:
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ src/plan/plan.test.ts:131:23
|
|
src/plan/plan.test.ts > Plan entity tests > Filters array parameters in stateless mode (by default):
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ ResourceController.plan src/resource/resource-controller.ts:151:17
❯ src/plan/plan.test.ts:172:18
|
|
src/plan/plan.test.ts > Plan entity tests > Doesn't filters array parameters if filtering is disabled:
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ ResourceController.plan src/resource/resource-controller.ts:151:17
❯ src/plan/plan.test.ts:209:18
|
|
src/plan/plan.test.ts > Plan entity tests > Can use the requiredParameters to match the correct resources together:
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ ResourceController.plan src/resource/resource-controller.ts:137:19
❯ src/plan/plan.test.ts:261:18
|
|
src/plan/plan.test.ts > Plan entity tests > Can use the schema to determine required parameters for multiple allowed:
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ ResourceController.plan src/resource/resource-controller.ts:137:19
❯ src/plan/plan.test.ts:322:18
|
|
src/plugin/plugin.test.ts > Plugin tests > Can apply resource:
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ ResourceController.plan src/resource/resource-controller.ts:151:17
❯ src/plugin/plugin.ts:205:22
❯ Plugin.apply src/plugin/plugin.ts:204:28
❯ src/plugin/plugin.test.ts:61:5
|
|
src/plugin/plugin.test.ts > Plugin tests > Can destroy resource:
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ ResourceController.plan src/resource/resource-controller.ts:137:19
❯ src/plugin/plugin.ts:205:22
❯ Plugin.apply src/plugin/plugin.ts:204:28
❯ src/plugin/plugin.test.ts:82:5
|
|
src/plugin/plugin.test.ts > Plugin tests > Can re-create resource:
src/plan/plan.ts#L91
TypeError: Plan.matchCurrentParameters is not a function
❯ Function.calculate src/plan/plan.ts:91:26
❯ ResourceController.plan src/resource/resource-controller.ts:151:17
❯ src/plugin/plugin.ts:205:22
❯ Plugin.apply src/plugin/plugin.ts:204:28
❯ src/plugin/plugin.test.ts:105:5
|