Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Aug 27, 2023
1 parent ccd6982 commit ba260a2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions crates/swc/tests/fixture/issues-7xxx/7862/input/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"jsc": {
"parser": {
"syntax": "ecmascript",
"jsx": false
},
"loose": false,
"minify": {
"compress": false,
"mangle": false
}
},
"module": {
"type": "es6"
},
"minify": false,
"isModule": true,
"env": {
"targets": "ios_saf 10",
"coreJs": 3,
"mode": "usage"
}
}
2 changes: 2 additions & 0 deletions crates/swc/tests/fixture/issues-7xxx/7862/input/1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
console.log(Promise.resolve)
console.log(globalThis)

0 comments on commit ba260a2

Please sign in to comment.