Skip to content

Commit 25aad74

Browse files
Update dependency jest to v29 (#494)
1 parent 8478697 commit 25aad74

File tree

9 files changed

+1215
-1593
lines changed

9 files changed

+1215
-1593
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
41
name: Build
52

63
on: [push, pull_request]
@@ -10,7 +7,7 @@ jobs:
107
runs-on: ubuntu-latest
118
strategy:
129
matrix:
13-
node-version: [12.x, 14.x, 16.x]
10+
node-version: [14.x, 16.x]
1411
steps:
1512
- uses: actions/checkout@v3
1613
- name: Use Node.js ${{ matrix.node-version }}

.whitesource

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"generalSettings": {
3-
"shouldScanRepo": true
4-
},
5-
"checkRunSettings": {
6-
"vulnerableCheckRunConclusionLevel": "success"
7-
}
8-
}
2+
"generalSettings": {
3+
"shouldScanRepo": true
4+
},
5+
"checkRunSettings": {
6+
"vulnerableCheckRunConclusionLevel": "success"
7+
}
8+
}

README.md

Lines changed: 77 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,83 @@ or
8686

8787
3. Multiple [Required] - Boolean (If false, only one panel can be opened at any time)
8888

89-
## Support this project
90-
91-
[![Tweet](https://img.shields.io/badge/Tweet-Share_this_repository-blue.svg?style=flat-square&logo=twitter&color=38A1F3)](https://twitter.com/intent/tweet?text=Checkout%20this%20awesome%20software%20project%3A&url=https%3A%2F%2Fgithub.com%2Fscriptex%2Freact-accordion-ts&via=scriptexbg&hashtags=software%2Cgithub%2Ccode%2Cawesome)
92-
[![Donate](https://img.shields.io/badge/Donate-Support_me_on_PayPal-blue.svg?style=flat-square&logo=paypal&color=222d65)](https://www.paypal.me/scriptex)
93-
[![Become a Patron](https://img.shields.io/badge/Become_Patron-Support_me_on_Patreon-blue.svg?style=flat-square&logo=patreon&color=e64413)](https://www.patreon.com/atanas)
94-
9589
## LICENSE
9690

9791
MIT
92+
93+
---
94+
95+
<div align="center">
96+
Connect with me:
97+
</div>
98+
99+
<br />
100+
101+
<div align="center">
102+
<a href="https://atanas.info">
103+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/logo.svg" height="20" alt="">
104+
</a>
105+
&nbsp;
106+
<a href="mailto:hi@atanas.info">
107+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/email.svg" height="20" alt="">
108+
</a>
109+
&nbsp;
110+
<a href="https://www.linkedin.com/in/scriptex/">
111+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linkedin.svg" height="20" alt="">
112+
</a>
113+
&nbsp;
114+
<a href="https://github.com/scriptex">
115+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/github.svg" height="20" alt="">
116+
</a>
117+
&nbsp;
118+
<a href="https://gitlab.com/scriptex">
119+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/gitlab.svg" height="20" alt="">
120+
</a>
121+
&nbsp;
122+
<a href="https://twitter.com/scriptexbg">
123+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/twitter.svg" height="20" alt="">
124+
</a>
125+
&nbsp;
126+
<a href="https://www.npmjs.com/~scriptex">
127+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/npm.svg" height="20" alt="">
128+
</a>
129+
&nbsp;
130+
<a href="https://www.youtube.com/user/scriptex">
131+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/youtube.svg" height="20" alt="">
132+
</a>
133+
&nbsp;
134+
<a href="https://stackoverflow.com/users/4140082/atanas-atanasov">
135+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/stackoverflow.svg" height="20" alt="">
136+
</a>
137+
&nbsp;
138+
<a href="https://codepen.io/scriptex/">
139+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/codepen.svg" width="20" alt="">
140+
</a>
141+
&nbsp;
142+
<a href="https://profile.codersrank.io/user/scriptex">
143+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/codersrank.svg" height="20" alt="">
144+
</a>
145+
&nbsp;
146+
<a href="https://linktr.ee/scriptex">
147+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linktree.svg" height="20" alt="">
148+
</a>
149+
</div>
150+
151+
---
152+
153+
<div align="center">
154+
Support and sponsor my work:<br /><br />
155+
156+
[![Tweet](https://img.shields.io/badge/Tweet-Share_my_profile-blue.svg?logo=twitter&color=38A1F3)](https://twitter.com/intent/tweet?text=Checkout%20this%20awesome%20developer%20profile%3A&url=https%3A%2F%2Fgithub.com%2Fscriptex&via=scriptexbg&hashtags=software%2Cgithub%2Ccode%2Cawesome)
157+
158+
[![Donate on Paypal](https://img.shields.io/badge/Donate-Support_me_on_PayPal-blue.svg?logo=paypal&color=222d65)](https://paypal.me/scriptex)
159+
[![Donate on Revolut](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/revolut.json)](https://revolut.me/scriptex)
160+
[![Become a Patron](https://img.shields.io/badge/Become_Patron-Support_me_on_Patreon-blue.svg?logo=patreon&color=e64413)](https://patreon.com/atanas)
161+
[![Buy Me A Coffee](https://img.shields.io/badge/Donate-Buy%20me%20a%20coffee-yellow.svg?logo=ko-fi)](https://ko-fi.com/scriptex)
162+
[![Donate on Liberapay](https://img.shields.io/liberapay/receives/scriptex?label=Donate%20on%20Liberapay&logo=liberapay)](https://liberapay.com/scriptex/donate)
163+
164+
![Donate Bitcoin](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/bitcoin.json)<br />
165+
![Donate Etherium](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/etherium.json)<br />
166+
![Donate Shiba Inu](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/shiba-inu.json)
167+
168+
</div>

__tests__/__snapshots__/accordion.test.tsx.snap

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

33
exports[`Accordion should render properly 1`] = `
4-
Array [
4+
[
55
<div
66
className="accordion"
77
role="tablist"
@@ -24,7 +24,7 @@ Array [
2424
aria-hidden={true}
2525
className="panel__body"
2626
style={
27-
Object {
27+
{
2828
"height": "0px",
2929
}
3030
}
@@ -61,7 +61,7 @@ Array [
6161
aria-hidden={true}
6262
className="panel__body"
6363
style={
64-
Object {
64+
{
6565
"height": "0px",
6666
}
6767
}
@@ -98,7 +98,7 @@ Array [
9898
aria-hidden={true}
9999
className="panel__body"
100100
style={
101-
Object {
101+
{
102102
"height": "0px",
103103
}
104104
}

0 commit comments

Comments
 (0)