Skip to content

Commit

Permalink
Vue3 update tool-version, jest test config, and remove unused import …
Browse files Browse the repository at this point in the history
…from test (#500)

* update tool version to node 22.2.0

* update jest testing configuration

* remove unused helper in test import
  • Loading branch information
jasonlundien committed May 21, 2024
1 parent 122b0cc commit 5f88651
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 16.14.0
nodejs 22.2.0
python 3.7.5
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
"src/**.js"
],
"jest": {
"verbose": true
"verbose": true,
"testEnvironmentOptions": {
"customExportConditions": [
"node",
"node-addons"
]
}
},
"module": "index.es.js",
"jsnext:main": "index.es.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/__tests__/FontAwesomeLayers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import { library } from '@fortawesome/fontawesome-svg-core'
import { faCoffee, faCircle } from '../__fixtures__/icons'
import { compileAndMount, mountFromProps } from '../__fixtures__/helpers'
import { compileAndMount } from '../__fixtures__/helpers'
import FontAwesomeLayers from '../FontAwesomeLayers'

beforeEach(() => {
Expand Down

0 comments on commit 5f88651

Please sign in to comment.