Skip to content

Commit

Permalink
refactor: create CRA example with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
twhy committed Jun 14, 2024
1 parent 4624395 commit c227da5
Show file tree
Hide file tree
Showing 5 changed files with 3,445 additions and 4,784 deletions.
6 changes: 3 additions & 3 deletions examples/create-react-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@ckb-lumos/lumos": "workspace:^",
"@ckb-lumos/lumos": "canary",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app/src/App.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import App from './App';

test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
const linkElement = screen.getByText(/Lumos/i);
expect(linkElement).toBeInTheDocument();
});
Loading

0 comments on commit c227da5

Please sign in to comment.