Skip to content

Commit

Permalink
Add unit testing for browser language (digitalocean#197)
Browse files Browse the repository at this point in the history
* Add unit testing

* Update unit testing

* Update unit testing

* fix a big heap of formatting typo
  • Loading branch information
moniang authored Dec 22, 2020
1 parent 0d920fa commit d1bf984
Show file tree
Hide file tree
Showing 6 changed files with 8,783 additions and 5,308 deletions.
13 changes: 13 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [[
"@babel/preset-env",
{
"corejs": "3",
"useBuiltIns": "usage"
}
]],
"plugins": [
"@babel/plugin-transform-runtime",
"@babel/plugin-proposal-class-properties"
]
}
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@ module.exports = {
'vue/no-unused-vars': 0,
'vue/html-self-closing': 0,
},
globals: {
'describe': true,
'expect': true,
'it': true,
'test': true,
},
};
Loading

0 comments on commit d1bf984

Please sign in to comment.