Skip to content

Commit

Permalink
Fix wrong path
Browse files Browse the repository at this point in the history
  • Loading branch information
zxl629 committed Jan 3, 2025
1 parent 9cef5bc commit ec6b1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const getParameters = () => {
process.exit(1);
}

if (!sample || !pathExistsSync(`samples/${framework}/${sample}`)) {
if (!sample || !pathExistsSync(`packages/e2e-tests/${framework}/${sample}`)) {
logError('Please enter a valid sample name');
process.exit(1);
}
Expand Down Expand Up @@ -109,7 +109,7 @@ const npmInstall = (sampleDir) => {
};

const sampleDirectory = ({ framework, sample }) => {
return `samples/${framework}/${sample}`;
return `packages/e2e-tests/${framework}/${sample}`;
};

// bash command for serving sample on prod
Expand Down

0 comments on commit ec6b1b8

Please sign in to comment.