Skip to content

Commit

Permalink
chore: tests with pnpm?
Browse files Browse the repository at this point in the history
  • Loading branch information
imp-dance committed Nov 2, 2023
1 parent 5f91253 commit 7781e92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install package
run: yarn install
run: pnpm install
- name: Install testing-app
working-directory: ./testing-app
run: yarn install
run: pnpm install
- name: Run tests
working-directory: ./testing-app
run: yarn run test
run: pnpm run test
2 changes: 1 addition & 1 deletion testing-app/src/app.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ describe("createLoader", () => {
);
});

test.skip("Can partially extend config", async () => {
test("Can partially extend config", async () => {
const CustomLoader = (props: CustomLoaderProps) => {
if (props.query.isError) {
return <div>Custom error!</div>;
Expand Down

0 comments on commit 7781e92

Please sign in to comment.