Skip to content

Commit b7d5c8e

Browse files
committed
fix linting
1 parent 6296449 commit b7d5c8e

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

packages/catalyst/src/cli/commands/project.spec.ts

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ describe('project', () => {
7878
const linkCmd = project.commands.find((cmd) => cmd.name() === 'link');
7979

8080
expect(linkCmd).toBeDefined();
81-
expect(linkCmd?.description()).toContain('Link your local Catalyst project to a BigCommerce infrastructure project');
81+
expect(linkCmd?.description()).toContain(
82+
'Link your local Catalyst project to a BigCommerce infrastructure project',
83+
);
8284

8385
const listCmd = project.commands.find((cmd) => cmd.name() === 'list');
8486

@@ -148,7 +150,7 @@ describe('project create', () => {
148150
server.use(
149151
http.post('https://:apiHost/stores/:storeHash/v3/infrastructure/projects', () =>
150152
HttpResponse.json({}, { status: 502 }),
151-
),
153+
),
152154
);
153155

154156
const promptMock = vi.spyOn(consola, 'prompt').mockResolvedValue('Duplicate');
@@ -227,7 +229,10 @@ describe('project link', () => {
227229
expect.arrayContaining([
228230
expect.objectContaining({ flags: '--store-hash <hash>' }),
229231
expect.objectContaining({ flags: '--access-token <token>' }),
230-
expect.objectContaining({ flags: '--api-host <host>', defaultValue: 'api.bigcommerce.com' }),
232+
expect.objectContaining({
233+
flags: '--api-host <host>',
234+
defaultValue: 'api.bigcommerce.com',
235+
}),
231236
expect.objectContaining({ flags: '--project-uuid <uuid>' }),
232237
expect.objectContaining({ flags: '--root-dir <path>', defaultValue: process.cwd() }),
233238
]),
@@ -236,15 +241,15 @@ describe('project link', () => {
236241

237242
test('sets projectUuid when called with --project-uuid', async () => {
238243
await program.parseAsync([
239-
'node',
240-
'catalyst',
241-
'project',
242-
'link',
243-
'--project-uuid',
244-
projectUuid1,
245-
'--root-dir',
246-
tmpDir,
247-
]);
244+
'node',
245+
'catalyst',
246+
'project',
247+
'link',
248+
'--project-uuid',
249+
projectUuid1,
250+
'--root-dir',
251+
tmpDir,
252+
]);
248253

249254
expect(consola.start).toHaveBeenCalledWith(
250255
'Writing project UUID to .bigcommerce/project.json...',

0 commit comments

Comments
 (0)