Skip to content

Commit 317c164

Browse files
committed
Rename the module AuthContext to AuthProvider and add tests
1 parent df74446 commit 317c164

File tree

6 files changed

+126
-138
lines changed

6 files changed

+126
-138
lines changed

packages/cpt-ui/__tests__/AuthDemoPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const MockAuthProvider = ({ children }) => {
7474

7575
// Since we've referenced AuthContext in the mock provider, we need to re-import it here
7676
// after the mock is set up.
77-
import { AuthContext } from "../context/AuthContext";
77+
import { AuthContext } from "../context/AuthProvider";
7878
import AuthPage from "../app/auth_demo/page";
7979

8080
describe("AuthPage", () => {

0 commit comments

Comments
 (0)