fix(test): add nested beforeEach for mainSessionID test isolation
Previous test was setting mainSessionID to 'main-session-123' and the next test expected undefined. The outer beforeEach wasn't properly resetting state between tests in the nested describe block. Adding a nested beforeEach ensures proper test isolation.
This commit is contained in:
@@ -232,10 +232,17 @@ async function publishAllPackages(version: string): Promise<void> {
|
||||
}
|
||||
|
||||
async function buildPackages(): Promise<void> {
|
||||
const skipPlatform = process.env.SKIP_PLATFORM_PACKAGES === "true"
|
||||
|
||||
console.log("\nBuilding packages...")
|
||||
await $`bun run clean && bun run build`
|
||||
console.log("Building platform binaries...")
|
||||
await $`bun run build:binaries`
|
||||
|
||||
if (skipPlatform) {
|
||||
console.log("⏭️ Skipping platform binaries (SKIP_PLATFORM_PACKAGES=true)")
|
||||
} else {
|
||||
console.log("Building platform binaries...")
|
||||
await $`bun run build:binaries`
|
||||
}
|
||||
}
|
||||
|
||||
async function gitTagAndRelease(newVersion: string, notes: string[]): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user