mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
fix: ci
This commit is contained in:
@@ -9,10 +9,13 @@ import { describe, expect, it } from 'vitest'
|
||||
const root = fileURLToPath(new URL('..', import.meta.url))
|
||||
|
||||
function clientCssDeclarations(): string[] {
|
||||
const clientRoot = resolve(root, 'packages/client')
|
||||
return readdirSync(clientRoot, { withFileTypes: true })
|
||||
.filter(entry => entry.isDirectory())
|
||||
.map(entry => resolve(clientRoot, entry.name, 'src/css-modules.d.ts'))
|
||||
const clientGroups = ['client', 'self-modification']
|
||||
return clientGroups.flatMap(group => {
|
||||
const clientRoot = resolve(root, 'packages', group)
|
||||
return readdirSync(clientRoot, { withFileTypes: true })
|
||||
.filter(entry => entry.isDirectory())
|
||||
.map(entry => resolve(clientRoot, entry.name, 'src/css-modules.d.ts'))
|
||||
})
|
||||
.filter(existsSync)
|
||||
.map(file => file.replaceAll(sep, '/'))
|
||||
.sort()
|
||||
|
||||
@@ -197,7 +197,7 @@ describe('the per-slot report budget', () => {
|
||||
})
|
||||
|
||||
describe('the real workspace surface', () => {
|
||||
it('collects every declared slot with a teachable contract', () => {
|
||||
it('collects every declared slot with a teachable contract', { timeout: 30_000 }, () => {
|
||||
const entries = collectSlotEntries(process.cwd())
|
||||
expect(entries.length).toBeGreaterThan(30)
|
||||
for (const entry of entries) {
|
||||
|
||||
Reference in New Issue
Block a user