Fakultas Ilmu Komputer UI

Commit 64023c32 authored by Zafir Rasyidi Taufik's avatar Zafir Rasyidi Taufik
Browse files

[GREEN] Try to fix error in pipeline

parent 8f9bf2cd
Pipeline #82132 failed with stage
in 1 minute and 49 seconds
......@@ -73,7 +73,7 @@ declare global {
type AlertType = {
illustration?: ImageSourcePropType;
message?: string;
message?: string | Element;
}
type SetAlertType = React.Dispatch<React.SetStateAction<AlertType>>
......@@ -192,7 +192,10 @@ const App = () => {
// Token is not valid
setAlert({
illustration: WonderingIllustration,
message: "Akun anda belum aktif, silahkan hubungi\nppticabangkotadepok@gmail.com"
message: <>
<Text> {"Akun anda belum aktif, silahkan hubungi\n"} </Text>
<Text color='#0DCE66'> ppticabangkotadepok@gmail.com </Text>
</>,
})
setToken('')
}
......
......@@ -13,6 +13,8 @@ import ReactTestRenderer, { act } from 'react-test-renderer';
import {AppContext} from 'contexts';
import { KECAMATAN_VALUES, JENIS_KONTAK_VALUES, KELURAHAN_VALUES } from './constants';
jest.useFakeTimers();
const Stack = createStackNavigator();
const testPropsEdit = {
cache: {
......
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