forked from ryansolid/dom-expressions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test failures when using pnpm and run npm-upgrade on all dependen…
…cies (ryansolid#194) * update test fixtures to match dependencies this also locks pnpm verisons to be able to use it instead of pnm changed whitespaces in test fixtures * update all packages with npm-upgrade added --bundleConfigAsCjs to rollup arguments set jsdom as jest test environment keep windows line endings on some of test files * let lerna use pnpm
- Loading branch information
Showing
95 changed files
with
12,889 additions
and
22,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,20 +13,24 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
|
||
- name: Installing deps | ||
run: npm install | ||
run: pnpm install | ||
|
||
- name: Building | ||
run: npm run build | ||
run: pnpm run build | ||
|
||
- name: Testing & Coverage | ||
run: | | ||
npm run test | ||
npm run test:coverage | ||
pnpm run test | ||
pnpm run test:coverage | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
module.exports = { | ||
"moduleDirectories": ["node_modules", "packages"], | ||
"testEnvironment": "jsdom", | ||
"collectCoverageFrom": [ | ||
"./index.js" | ||
], | ||
"transform": { | ||
"^.+\\.jsx?$": "babel-jest" | ||
} | ||
} | ||
} |
Oops, something went wrong.