Skip to content

Commit

Permalink
Merge pull request #695 from adobe/fixFunctionalWatch
Browse files Browse the repository at this point in the history
Fix test:functional:watch
  • Loading branch information
jonsnyder committed Mar 18, 2021
2 parents 0cb06ca + bd25f85 commit 6e49d0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/watchFunctionalTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ const effectByEventCode = {
};

(async () => {
// Ideally we would pass these environment variables as part
// of the loadConfigFile function, but that doesn't work.
// See https://github.com/rollup/rollup/issues/4003
process.env.SANDBOX = "true";
process.env.NPM_PACKAGE_LOCAL = "true";
process.env.BASE_CODE_MIN = "true";
const { options, warnings } = await loadConfigFile(
path.join(__dirname, "../rollup.config.js")
);
Expand Down

0 comments on commit 6e49d0f

Please sign in to comment.