Skip to content

Commit 99d2c65

Browse files
authored
Remove unused status presenter test scaffolding
1 parent fa70e0e commit 99d2c65

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/app/src/cli/services/bulk-operations/result.test.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
import {testBulkOperation} from './bulk-operation.test-data.js'
22
import {renderBulkOperationStatusResult} from './status-result.js'
33
import {expect, test, vi} from 'vitest'
4-
import {renderTable} from '@shopify/cli-kit/node/ui'
54
import {mockAndCaptureOutput} from '@shopify/cli-kit/node/testing/output'
65

76
vi.mock('@shopify/cli-kit/node/ui')
87

98
test('does not invent a list operation type or claim completeness for a capped list', () => {
109
const output = mockAndCaptureOutput()
11-
const {type: _type, ...operation} = testBulkOperation()!
10+
const {type: _type, ...operation} = testBulkOperation()
1211
renderBulkOperationStatusResult({operations: Array.from({length: 100}, () => operation)}, 'json')
1312
const result = JSON.parse(output.output())
1413
expect(result.operations[0]).not.toHaveProperty('type')

0 commit comments

Comments
 (0)