Skip to content

Commit

Permalink
Ensure tests fixtures transpile to be evaluated in Node
Browse files Browse the repository at this point in the history
These specific test fixutres are evaluated in a Node context (by the
`DistChecker` using JSDom), so the resulting assets must be transpiled
for the current Node environment.
  • Loading branch information
rwjblue committed Jun 11, 2021
1 parent 4373c5c commit a0d130d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/fixtures/brocfile-tests/auto-run-false/config/targets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const browsers = [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Safari versions',
];

module.exports = {
browsers,
node: 'current',
};
10 changes: 10 additions & 0 deletions tests/fixtures/brocfile-tests/auto-run-true/config/targets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const browsers = [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Safari versions',
];

module.exports = {
browsers,
node: 'current',
};
10 changes: 10 additions & 0 deletions tests/fixtures/brocfile-tests/custom-ember-env/config/targets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const browsers = [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Safari versions',
];

module.exports = {
browsers,
node: 'current',
};

0 comments on commit a0d130d

Please sign in to comment.