Skip to content

Commit

Permalink
Merge branch 'main' into ci/issues_template
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Mar 12, 2024
2 parents 1d503ba + da06dde commit fb8ab57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/rolldown/test/runner.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { describe, expect, test } from 'vitest'
import { describe, test } from 'vitest'
import { yellow } from 'colorette'
import { InputOptions, OutputOptions, RollupOptions, rolldown } from 'rolldown'
import path from 'node:path'
import fs from 'node:fs'
Expand All @@ -16,7 +17,11 @@ function runCases() {

for (const subCaseName of subCases) {
const caseRoot = path.join(subCasesRoot, subCaseName)
const { config, afterTest } = await getCaseConfig(caseRoot)
const caseConfig = await getCaseConfig(caseRoot)
if (!caseConfig) {
console.log(yellow(`[config] is empty in ${caseRoot}`))
}
const { config, afterTest } = caseConfig || {}

test(subCaseName, async () => {
const output = await runCaseBundle(caseRoot, config)
Expand Down
File renamed without changes.

0 comments on commit fb8ab57

Please sign in to comment.