Skip to content

Commit

Permalink
Merge pull request #391 from 51ngul4r1ty/tech/000363/use-null-coalles…
Browse files Browse the repository at this point in the history
…cing-operator

Null Coallescing Operator Refactor + Storybook 6.4.22
  • Loading branch information
51ngul4r1ty authored Apr 19, 2022
2 parents 74f6202 + 5d663ce commit 74eb4b0
Show file tree
Hide file tree
Showing 9 changed files with 24,271 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.20.1
16.14.0
11 changes: 4 additions & 7 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ module.exports = {
compact: true,
presets: [
[
'@babel/env',
"@babel/env",
{
modules: false,
targets: {
node: 'current',
node: "current"
}
}
],
Expand All @@ -17,16 +17,13 @@ module.exports = {
"@babel/proposal-object-rest-spread",
"@babel/proposal-class-properties",
"@babel/proposal-optional-chaining",
"@babel/proposal-nullish-coalescing-operator",
"@babel/syntax-dynamic-import",
"macros"
],
env: {
test: {
plugins: [
"@babel/transform-modules-commonjs",
"@babel/syntax-dynamic-import",
"@babel/plugin-transform-runtime"
]
plugins: ["@babel/transform-modules-commonjs", "@babel/syntax-dynamic-import", "@babel/plugin-transform-runtime"]
}
}
};
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ module.exports = {
coverageReporters: ["lcov", "text-summary"],
coverageThreshold: {
global: {
statements: 15.35,
branches: 10.42,
functions: 17.9,
lines: 15.2
statements: 15.21,
branches: 10.28,
functions: 17.52,
lines: 15.06
}
},
setupFiles: ["<rootDir>/node_modules/regenerator-runtime/runtime", "<rootDir>/config/polyfills.js"],
Expand Down
Loading

0 comments on commit 74eb4b0

Please sign in to comment.