Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjoeoui committed Mar 19, 2024
1 parent 1c74183 commit 9290323
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion playwright-test/10_env_modal.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ test.describe("Environment modal", () => {

try {
// Expect "FLOJOY_CLOUD_WORKSPACE_SECRET" to be listed in the modal
await expect(window.getByText("FLOJOY_CLOUD_WORKSPACE_SECRET")).toBeVisible({
await expect(
window.getByText("FLOJOY_CLOUD_WORKSPACE_SECRET"),
).toBeVisible({
timeout: 20000,
});
} catch (error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export function CloudPanel() {
queryKey: ["projects"],
queryFn: async () => {
if (envsQuery.isSuccess) {
if (envsQuery.data.some((c) => c.key === "FLOJOY_CLOUD_WORKSPACE_SECRET")) {
if (
envsQuery.data.some((c) => c.key === "FLOJOY_CLOUD_WORKSPACE_SECRET")
) {
const res = await getCloudProjects();
return res.match(
(vars) => vars,
Expand Down

0 comments on commit 9290323

Please sign in to comment.