Skip to content

Commit b6dac0a

Browse files
committed
fix: make env variable be exposed
1 parent 468cc8a commit b6dac0a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/FissionUnitTest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ jobs:
9494
- name: Run Assetpack Tests
9595
run: HOME=/root npm run test src/test/mirabuf/DefaultAssets.test.ts
9696
env:
97-
RUN_ASSETPACK_TESTS: true
97+
VITE_RUN_ASSETPACK_TEST: true

fission/src/test/mirabuf/DefaultAssets.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ describe("Default Asset Tests", async () => {
1010
expect(DefaultAssetLoader.fields.length).toBeGreaterThan(1)
1111
expect(DefaultAssetLoader.robots.length).toBeGreaterThan(1)
1212
})
13-
14-
test.runIf(import.meta.env.RUN_ASSETPACK_TESTS).each(DefaultAssetLoader.fields)(
13+
test.runIf(import.meta.env.VITE_RUN_ASSETPACK_TEST).each(DefaultAssetLoader.fields)(
1514
"Manifest hashes match assets ($name)",
1615
async asset => {
1716
const info = await MirabufCachingService.cacheRemote(asset.remotePath, asset.miraType)
@@ -21,7 +20,7 @@ describe("Default Asset Tests", async () => {
2120
await MirabufCachingService.remove(info.hash)
2221
}
2322
)
24-
test.runIf(import.meta.env.RUN_ASSETPACK_TESTS).each(DefaultAssetLoader.robots)(
23+
test.runIf(import.meta.env.VITE_RUN_ASSETPACK_TEST).each(DefaultAssetLoader.robots)(
2524
"Manifest hashes match assets ($name)",
2625
async asset => {
2726
const info = await MirabufCachingService.cacheRemote(asset.remotePath, asset.miraType)

0 commit comments

Comments
 (0)