Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: scope babel-helper-complication-targets test
- Loading branch information
1 parent
3604bae
commit a71b140
Showing
3 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
...l-helper-compilation-targets/test/custom-browserslist-env/custom-browserslist-env.spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import getTargets from "../.."; | ||
|
||
it("allows custom browserslist env", () => { | ||
const actual = getTargets( | ||
{}, | ||
{ configPath: __dirname, browserslistEnv: "custom" }, | ||
); | ||
|
||
expect(actual).toEqual({ ie: "11.0.0" }); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters