-
Notifications
You must be signed in to change notification settings - Fork 0
Questionnare behavior test #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: alpha
Are you sure you want to change the base?
Conversation
…into 2-questionnare-behavior-test
…into 2-questionnare-behavior-test
apps/smart-forms-app/package.json
Outdated
| "start": "vite", | ||
| "build": "tsc && CI=false vite build", | ||
| "test": "TZ=Australia/Sydney jest --config ./jest.config.ts --coverage", | ||
| "test": "vitest run", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be
TZ=Australia/Sydney vitest run for backward compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check
| }) | ||
| })); | ||
|
|
||
| export async function getAnswerRecurciseByLabel(text: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getAnswerRecursiveByLabel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
|
||
| export async function getAnswerRecurciseByLabel(text: string) { | ||
| const qr = questionnaireResponseStore.getState().updatableResponse; | ||
| console.log(qr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove console log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| import type { Questionnaire, QuestionnaireResponse } from 'fhir/r4'; | ||
| import aboriginalForm from '../data/resources/Questionnaire/Questionnaire-AboriginalTorresStraitIslanderHealthCheckAssembled-0.1.0.json'; | ||
| import { QueryClientProvider } from '@tanstack/react-query'; | ||
| import { inputText, inputDate, inputInteger, checkRadioOption } from '@aehrc/testing-toolkit'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aehrc/testing-toolkit is no longer exists in alpha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
No description provided.