Skip to content
Source
Sign inSign up
TanStack/cli

test(create): make path assertions cross-platform #470

Opensiglag(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/470/headopened

Showing 3 changed files with 41 additions and 21 deletions.

x
0 of 3 viewed, 3 left
14 additions and 0 deletions.github/workflows/pr.ymlModified
View file
@@ -29,6 +29,20 @@
run: pnpm build
- name: Test Unit
run: pnpm test:unit
+ test-paths-windows:
+ name: Test (Windows Paths)
+ runs-on: windows-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ persist-credentials: false
+ - name: Setup Tools
+ uses: tanstack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3 # main
+ - name: Build core
+ run: pnpm --filter @tanstack/create build
+ - name: Test native and memory path contracts
+ run: pnpm --filter @tanstack/create exec vitest run tests/create-app.test.ts tests/file-helper.test.ts
provenance:
name: Provenance
runs-on: ubuntu-latest
18 additions and 16 deletionspackages/create/tests/create-app.test.tsModified
View file
@@ -5,7 +5,11 @@
import { createApp as createEdgeApp } from '../src/edge-create-app.js'
​
import { createMemoryEnvironment } from '../src/environment.js'