-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from IMDA-BTG/chore/tests-select-dataset-model
re-addChore/tests select dataset model The requested reviews are Approved. Proceeded to merge PR to Main.
- Loading branch information
Showing
28 changed files
with
4,672 additions
and
2,450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
ai-verify-portal/__mocks__/ai-verify-shared-library/lib.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
import { createContext } from 'react'; | ||
|
||
export function getComponents() { | ||
return {}; | ||
} | ||
|
||
export function parseRJSFSchema() { | ||
return { | ||
sensitive_feature: { | ||
items: {}, | ||
}, | ||
}; | ||
} | ||
|
||
export type InputDataContextType = { | ||
meta: any; | ||
data: any; | ||
onChangeData?: (key: string, value: any) => void; | ||
}; | ||
|
||
export const InputDataContext = createContext<InputDataContextType>({ | ||
meta: {}, | ||
data: {}, | ||
}); |
Oops, something went wrong.