style: format web apps with prettier and sort imports
Apply repo-wide Prettier/lint normalization across admin-web, desktop-client and ops-web: single quotes, no semicolons, trailing commas, consistent line wrapping, and import ordering. Also drop an unused brand-logo import in DesktopShell.vue. No behavior changes — formatting only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,8 @@ vi.mock('./media-image', () => ({
|
||||
}))
|
||||
|
||||
import { publishToutiaoArticle } from '../../../../../packages/publisher-platforms/src/toutiao'
|
||||
import { toutiaoAdapter } from './toutiao'
|
||||
import { fetchImageAssetBlob } from './media-image'
|
||||
import { toutiaoAdapter } from './toutiao'
|
||||
|
||||
describe('toutiao adapter', () => {
|
||||
it('fetches relative public assets through the desktop asset pipeline before platform upload', async () => {
|
||||
@@ -60,7 +60,13 @@ describe('toutiao adapter', () => {
|
||||
|
||||
expect(bodyBlob?.type).toBe('image/png')
|
||||
expect(coverBlob?.type).toBe('image/png')
|
||||
expect(fetchImageAssetBlob).toHaveBeenCalledWith('/api/public/assets/body-token', expect.anything())
|
||||
expect(fetchImageAssetBlob).toHaveBeenCalledWith('/api/public/assets/cover-token', expect.anything())
|
||||
expect(fetchImageAssetBlob).toHaveBeenCalledWith(
|
||||
'/api/public/assets/body-token',
|
||||
expect.anything(),
|
||||
)
|
||||
expect(fetchImageAssetBlob).toHaveBeenCalledWith(
|
||||
'/api/public/assets/cover-token',
|
||||
expect.anything(),
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user