Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3 Update tool-version, jest test config, and remove unused import from test #500

Merged
merged 3 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
]
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding this to fix failing local tests

},
"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'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used

import { compileAndMount } from '../__fixtures__/helpers'
import FontAwesomeLayers from '../FontAwesomeLayers'

beforeEach(() => {
Expand Down
Loading