Fakultas Ilmu Komputer UI

Commit 87a85c55 authored by Nabila Febri Viola's avatar Nabila Febri Viola
Browse files

[REFACTOR] Change pages' name

parent 65058a09
Pipeline #44536 passed with stages
in 4 minutes and 29 seconds
......@@ -5,7 +5,7 @@ import { postUserChangePassword } from "../api"
import { doSuccessfulLogin } from "../hooks/authenticate.helper"
import Index from "./index"
import { render } from "../utils/test-util"
import ChangePasswordPage from "./ChangePasswordPage"
import ChangePasswordPage from "./changepassword"
describe("Change Password", () => {
it("renders login before login", async () => {
......
import React from "react"
import { render } from "../../utils/test-util"
import EmailVerificationFailedPage from "./EmailVerificationFailedPage"
import EmailVerificationFailedPage from "./failed"
beforeEach(() => {
window.history.pushState(
......
import React from "react"
import { render } from "../../utils/test-util"
import EmailVerificationSuccessPage from "./EmailVerificationSuccessPage"
import EmailVerificationSuccessPage from "./success"
import { getUserProfile } from "../../api"
getUserProfile.mockResolvedValue({
data: {
......
......@@ -7,7 +7,7 @@ import moment from "moment"
import React from "react"
import { getAgendaDonor, getListJadwalDonor } from "../api"
import { render } from "../utils/test-util"
import JadwalDonorPage from "./JadwalDonorPage"
import JadwalDonorPage from "./jadwal-donor"
import { jadwalDonorFactory } from "./jadwal-donor.factory"
import { doSuccessfulLogin } from "../hooks/authenticate.helper"
......
......@@ -3,7 +3,7 @@ import React from "react"
import { getAgendaDonor, getUserProfile, getRiwayatDonor } from "../api"
import { render } from "../utils/test-util"
import { jadwalDonorFactory } from "./jadwal-donor.factory"
import ProfilePage from "./ProfilePage"
import ProfilePage from "./profile"
getAgendaDonor.mockResolvedValue({ data: [] })
getUserProfile.mockResolvedValue({ data: { profile: {} } })
getRiwayatDonor.mockResolvedValue({ data: { count: 0, results: [] } })
......
......@@ -3,7 +3,7 @@ import { render, unmountComponentAtNode } from "react-dom"
import { act } from "react-dom/test-utils"
import { screen } from "@testing-library/react"
import ResetPasswordPage from "./ResetPasswordPage"
import ResetPasswordPage from "./resetpassword"
let container = null
beforeEach(() => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment