Skip to content

Commit

Permalink
derp
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-bompart committed Feb 6, 2024
1 parent 9a0ca17 commit d982ca3
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions packages/cli-e2e/__tests__/atomic.specs.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import type {Browser, Page, HTTPResponse, Platform} from 'puppeteer';
import type {Browser, Page, HTTPResponse} from 'puppeteer';
import {captureScreenshots, getNewBrowser, openNewPage} from '../utils/browser';
import {
answerPrompt,
getProjectPath,
isGenericYesNoPrompt,
setupUIProject,
} from '../utils/cli';
import {answerPrompt, getProjectPath, setupUIProject} from '../utils/cli';
import {getPlatformClient, isSuccessfulSearchResponse} from '../utils/platform';
import {ProcessManager} from '../utils/processManager';
import {Terminal} from '../utils/terminal/terminal';
Expand Down Expand Up @@ -156,23 +151,6 @@ describe('ui:create:atomic', () => {
`${debugName}-${options.id}`
);
};
let freshNgspId: string;
let platformClient: PlatformClient;
beforeAll(async () => {
platformClient = getPlatformClient(
process.env.ORG_ID!,
process.env.PLATFORM_API_KEY!
);
freshNgspId = (
await platformClient.nextGenSearchPages.create({
name: getProjectName('from-platform'),
})
).id;
});

afterAll(async () => {
await platformClient.nextGenSearchPages.delete(freshNgspId);
});

describe.each([
{
Expand Down

0 comments on commit d982ca3

Please sign in to comment.