Skip to content

Commit

Permalink
fix: add correct flag for oft-alt to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
St0rmBr3w committed Dec 11, 2024
1 parent 71ad4af commit 4f557c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests-user/tests/create-lz-oapp.bats
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ teardown() {
@test "should work with pnpm & oft-alt example in CI mode" {
local DESTINATION="$PROJECTS_DIRECTORY/pnpm-oft-alt"

LZ_ENABLE_NATIVE_EXAMPLE=1 npx --yes create-lz-oapp --ci --example oft-alt --destination $DESTINATION --package-manager pnpm
LZ_ENABLE_ALT_EXAMPLE=1 npx --yes create-lz-oapp --ci --example oft-alt --destination $DESTINATION --package-manager pnpm
cd "$DESTINATION"
pnpm compile
pnpm test
Expand Down Expand Up @@ -256,7 +256,7 @@ teardown() {
@test "should work with yarn & oft-alt example in CI mode" {
local DESTINATION="$PROJECTS_DIRECTORY/yarn-oft-alt"

YARN_CACHE_FOLDER="/tmp/.yarn-cache-native-oft-alt-evm" LZ_ENABLE_NATIVE_EXAMPLE=1 npx --yes create-lz-oapp --ci --example oft-alt --destination $DESTINATION --package-manager yarn
YARN_CACHE_FOLDER="/tmp/.yarn-cache-native-oft-alt-evm" LZ_ENABLE_ALT_EXAMPLE=1 npx --yes create-lz-oapp --ci --example oft-alt --destination $DESTINATION --package-manager yarn
cd "$DESTINATION"
yarn compile
yarn test
Expand Down Expand Up @@ -340,7 +340,7 @@ teardown() {
@test "should work with npm & oft-alt example in CI mode" {
local DESTINATION="$PROJECTS_DIRECTORY/npm-oft-alt"

LZ_ENABLE_NATIVE_EXAMPLE=1 npx --yes create-lz-oapp --ci --example oft-alt --destination $DESTINATION --package-manager npm
LZ_ENABLE_ALT_EXAMPLE=1 npx --yes create-lz-oapp --ci --example oft-alt --destination $DESTINATION --package-manager npm
cd "$DESTINATION"
npm run compile
npm run test
Expand Down

0 comments on commit 4f557c8

Please sign in to comment.