Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webdriver.io End to End Testing #1691

Merged
merged 3 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ out
testFixture
**/*/__mocks__
**/*.d.ts
.wdio-vscode-service/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ testFixture/.terraform.lock.hcl
testFixture/.vscode
.terraform/
.vscode-test-web
.wdio-vscode-service
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ package-lock.json
node_modules/
.vscode-test/
.vscode-test-web/
.wdio-vscode-service/
language-configuration.json
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.vscode
.vscode-test
.vscode-test-web
.wdio-vscode-service
build/
docs/
lsp/
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,8 @@
"lint": "eslint src --ext ts",
"prettier": "prettier \"**/*.+(js|json|ts)\"",
"format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --check"
"check-format": "npm run prettier -- --check",
"wdio": "npm run compile && cd test && npm run wdio"
},
"dependencies": {
"@vscode/extension-telemetry": "^0.4.9",
Expand Down Expand Up @@ -905,7 +906,7 @@
"process": "^0.11.10",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"typescript": "^5.1.3",
"webpack": "^5.82.0",
"webpack-cli": "^5.1.1"
Expand Down
28 changes: 14 additions & 14 deletions src/terraformCloud/organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ const organizations = z.object({
.optional(),
});

const organizationMemberships = z.object({
data: z.array(
z.object({
id: z.string(),
attributes: z.object({
status: z.enum(['active', 'invited']),
}),
relationships: z.object({
organization: z.object({
data: z.object({
id: z.string(),
}),
}),
const organizationMemebrship = z.object({
id: z.string(),
attributes: z.object({
status: z.enum(['active', 'invited']),
}),
relationships: z.object({
organization: z.object({
data: z.object({
id: z.string(),
}),
}),
),
}),
});
const organizationMemberships = z.object({
data: z.array(organizationMemebrship),
});
export type OrganizationMembership = z.infer<typeof organizationMemebrship>;

export const organizationEndpoints = makeApi([
{
Expand Down
Loading
Loading