export command #169
Annotations
10 errors and 5 warnings
tests/export/ResourceGenerator.test.tsx > ResourceGenerator > generates valid HCL for resources:
tests/export/ResourceGenerator.test.tsx#L73
AssertionError: expected '\n# Resources\nresource "permitio_res…' to contain 'description = "The owner of the docum…'
- Expected
+ Received
- description = "The owner of the document"
+
+ # Resources
+ resource "permitio_resource" "document" {
+ key = "document"
+ name = "Document"
+ description = "A document resource"
+
+ actions = {
+ "read" = {
+ name = "Read"
+ description = "Read the document"
+ }
+ }
+
+ attributes = {
+ "owner" = {
+ type = "string"
+ }
+ }
+ }
+
❯ tests/export/ResourceGenerator.test.tsx:73:20
|
tests/export/RoleDerivationGenerator.test.ts > RoleDerivationGenerator > generates valid HCL for role derivations:
tests/export/RoleDerivationGenerator.test.ts#L70
AssertionError: expected '' to contain '# Role Derivations'
- Expected
+ Received
- # Role Derivations
❯ tests/export/RoleDerivationGenerator.test.ts:70:17
|
build (20.x)
Process completed with exit code 1.
|
tests/export/ResourceGenerator.test.tsx > ResourceGenerator > generates valid HCL for resources:
tests/export/ResourceGenerator.test.tsx#L73
AssertionError: expected '\n# Resources\nresource "permitio_res…' to contain 'description = "The owner of the docum…'
- Expected
+ Received
- description = "The owner of the document"
+
+ # Resources
+ resource "permitio_resource" "document" {
+ key = "document"
+ name = "Document"
+ description = "A document resource"
+
+ actions = {
+ "read" = {
+ name = "Read"
+ description = "Read the document"
+ }
+ }
+
+ attributes = {
+ "owner" = {
+ type = "string"
+ }
+ }
+ }
+
❯ tests/export/ResourceGenerator.test.tsx:73:20
|
tests/export/RoleDerivationGenerator.test.ts > RoleDerivationGenerator > generates valid HCL for role derivations:
tests/export/RoleDerivationGenerator.test.ts#L70
AssertionError: expected '' to contain '# Role Derivations'
- Expected
+ Received
- # Role Derivations
❯ tests/export/RoleDerivationGenerator.test.ts:70:17
|
build (18.x)
Process completed with exit code 1.
|
build (22.x)
The job was canceled because "_20_x" failed.
|
tests/export/ResourceGenerator.test.tsx > ResourceGenerator > generates valid HCL for resources:
tests/export/ResourceGenerator.test.tsx#L73
AssertionError: expected '\n# Resources\nresource "permitio_res…' to contain 'description = "The owner of the docum…'
- Expected
+ Received
- description = "The owner of the document"
+
+ # Resources
+ resource "permitio_resource" "document" {
+ key = "document"
+ name = "Document"
+ description = "A document resource"
+
+ actions = {
+ "read" = {
+ name = "Read"
+ description = "Read the document"
+ }
+ }
+
+ attributes = {
+ "owner" = {
+ type = "string"
+ }
+ }
+ }
+
❯ tests/export/ResourceGenerator.test.tsx:73:20
|
tests/export/RoleDerivationGenerator.test.ts > RoleDerivationGenerator > generates valid HCL for role derivations:
tests/export/RoleDerivationGenerator.test.ts#L70
AssertionError: expected '' to contain '# Role Derivations'
- Expected
+ Received
- # Role Derivations
❯ tests/export/RoleDerivationGenerator.test.ts:70:17
|
build (22.x)
The operation was canceled.
|
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (20.x):
source/components/export/ExportContent.tsx#L114
React Hook useEffect has missing dependencies: 'exportConfig' and 'setState'. Either include them or remove the dependency array
|
build (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (18.x):
source/components/export/ExportContent.tsx#L114
React Hook useEffect has missing dependencies: 'exportConfig' and 'setState'. Either include them or remove the dependency array
|
build (22.x):
source/components/export/ExportContent.tsx#L114
React Hook useEffect has missing dependencies: 'exportConfig' and 'setState'. Either include them or remove the dependency array
|