Skip to content

Commit 1bc16f4

Browse files
committed
chore: fix unit testing, update spinner snapshot
1 parent 12caeec commit 1bc16f4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

babel.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module.exports = {
22
presets: [
3-
['@babel/preset-env', {
4-
'modules': false,
5-
}]
3+
['@babel/preset-env']
64
]
75
}

src/components/Spinner/tests/__snapshots__/CSpinner.spec.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`CSpinner renders correctly 1`] = `
4-
<span
4+
<div
55
aria-hidden="false"
66
aria-label="Loading"
77
class="spinner-border"
@@ -10,7 +10,7 @@ exports[`CSpinner renders correctly 1`] = `
1010
`;
1111

1212
exports[`CSpinner renders correctly 2`] = `
13-
<span
13+
<div
1414
aria-hidden="false"
1515
aria-label="Loading"
1616
class="spinner-grow spinner-grow-sm text-success"

0 commit comments

Comments
 (0)