@unite-us/app-create-referral 0.1.64-broken-tests-5159cf1 → 0.1.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,7 @@ describe('Supporting Info', function () {
32
32
  _context.t0 = expect;
33
33
  _context.next = 4;
34
34
  return _react.screen.findByRole("heading", {
35
- name: 'Complete Assessmentss'
35
+ name: 'Complete Assessments'
36
36
  });
37
37
  case 4:
38
38
  _context.t1 = _context.sent;
@@ -1 +1 @@
1
- {"version":3,"file":"SupportingInfo.test.js","names":["_react","require","_testUtils","_mockPeople","_SupportingInfo","_interopRequireDefault","_mockAppReferrals","_mswHandlers","_data","jest","setTimeout","describe","beforeEach","setupSupportingInfoHandlers","it","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","render","React","createElement","appContextProviderProps","person","referrals","currentProvider","mockAppReferralsProps","appState","currentEmployee","t0","expect","screen","findByRole","name","t1","sent","toBeInTheDocument","t2","level","t3","t4","t5","t6","t7","t8","t9","t10","t11","t12","t13","t14","t15","t16","t17","stop"],"sources":["../../../../src/pages/supporting-info/__tests__/SupportingInfo.test.js"],"sourcesContent":["import { screen } from \"@testing-library/react\";\nimport { render } from \"../../../__testUtils__/test-utils\";\nimport { person } from \"../../../__testUtils__/mockData/mockPeople\";\nimport SupportingInfo from \"../SupportingInfo\";\nimport mockAppReferralsProps from \"../../../__testUtils__/mockData/components/mockAppReferrals\";\nimport { setupSupportingInfoHandlers } from \"./msw/mswHandlers\";\nimport { referrals } from \"./data\";\n\n// This test requires a longer timeout because it uses SurveyJS, \n// which seems to takes a while to load and render all the forms\njest.setTimeout(100000)\n\ndescribe('Supporting Info', () => {\n beforeEach(() => setupSupportingInfoHandlers())\n\n it('should render Forms', async () => {\n render(<SupportingInfo />, {\n appContextProviderProps: {\n person,\n referrals,\n currentProvider: mockAppReferralsProps.appState.currentProvider,\n currentEmployee: mockAppReferralsProps.appState.currentEmployee\n }\n })\n expect(await screen.findByRole(\"heading\", { name: 'Complete Assessmentss' })).toBeInTheDocument();\n\n // Renders 8 forms\n expect(await screen.findByRole(\"heading\", { name: 'qb-438 nccare360', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'All Question Types (testing)', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'Transportation Needs', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'tool-332 Survey_Title', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'Refactor Form Test', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'simple form', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'NY Cares', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'Edit logic', level: 5 })).toBeInTheDocument();\n });\n});"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,iBAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAP,OAAA;AAEA;AACA;AACAQ,IAAI,CAACC,UAAU,CAAC,MAAM,CAAC;AAEvBC,QAAQ,CAAC,iBAAiB,EAAE,YAAM;EAChCC,UAAU,CAAC;IAAA,OAAM,IAAAC,wCAA2B,GAAE;EAAA,EAAC;EAE/CC,EAAE,CAAC,qBAAqB,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAAC,QAAA;IAAA,OAAAF,YAAA,CAAAD,OAAA,CAAAI,IAAA,UAAAC,SAAAC,QAAA;MAAA,kBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,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,IAAAnB,QAAA,CAAAgC,GAAA,EAAAhC,QAAA,CAAAiC,GAAA,EAAEb,iBAAiB;UAAApB,QAAA,CAAAkC,GAAA,GAC/FpB,MAAM;UAAAd,QAAA,CAAAE,IAAA;UAAA,OAAOa,aAAM,CAACC,UAAU,CAAC,SAAS,EAAE;YAAEC,IAAI,EAAE,UAAU;YAAEK,KAAK,EAAE;UAAE,CAAC,CAAC;QAAA;UAAAtB,QAAA,CAAAmC,GAAA,GAAAnC,QAAA,CAAAmB,IAAA;UAAA,IAAAnB,QAAA,CAAAkC,GAAA,EAAAlC,QAAA,CAAAmC,GAAA,EAAEf,iBAAiB;UAAApB,QAAA,CAAAoC,GAAA,GAC5FtB,MAAM;UAAAd,QAAA,CAAAE,IAAA;UAAA,OAAOa,aAAM,CAACC,UAAU,CAAC,SAAS,EAAE;YAAEC,IAAI,EAAE,YAAY;YAAEK,KAAK,EAAE;UAAE,CAAC,CAAC;QAAA;UAAAtB,QAAA,CAAAqC,GAAA,GAAArC,QAAA,CAAAmB,IAAA;UAAA,IAAAnB,QAAA,CAAAoC,GAAA,EAAApC,QAAA,CAAAqC,GAAA,EAAEjB,iBAAiB;QAAA;QAAA;UAAA,OAAApB,QAAA,CAAAsC,IAAA;MAAA;IAAA,GAAAzC,OAAA;EAAA,CAC/F,GAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"SupportingInfo.test.js","names":["_react","require","_testUtils","_mockPeople","_SupportingInfo","_interopRequireDefault","_mockAppReferrals","_mswHandlers","_data","jest","setTimeout","describe","beforeEach","setupSupportingInfoHandlers","it","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","render","React","createElement","appContextProviderProps","person","referrals","currentProvider","mockAppReferralsProps","appState","currentEmployee","t0","expect","screen","findByRole","name","t1","sent","toBeInTheDocument","t2","level","t3","t4","t5","t6","t7","t8","t9","t10","t11","t12","t13","t14","t15","t16","t17","stop"],"sources":["../../../../src/pages/supporting-info/__tests__/SupportingInfo.test.js"],"sourcesContent":["import { screen } from \"@testing-library/react\";\nimport { render } from \"../../../__testUtils__/test-utils\";\nimport { person } from \"../../../__testUtils__/mockData/mockPeople\";\nimport SupportingInfo from \"../SupportingInfo\";\nimport mockAppReferralsProps from \"../../../__testUtils__/mockData/components/mockAppReferrals\";\nimport { setupSupportingInfoHandlers } from \"./msw/mswHandlers\";\nimport { referrals } from \"./data\";\n\n// This test requires a longer timeout because it uses SurveyJS, \n// which seems to takes a while to load and render all the forms\njest.setTimeout(100000)\n\ndescribe('Supporting Info', () => {\n beforeEach(() => setupSupportingInfoHandlers())\n\n it('should render Forms', async () => {\n render(<SupportingInfo />, {\n appContextProviderProps: {\n person,\n referrals,\n currentProvider: mockAppReferralsProps.appState.currentProvider,\n currentEmployee: mockAppReferralsProps.appState.currentEmployee\n }\n })\n expect(await screen.findByRole(\"heading\", { name: 'Complete Assessments' })).toBeInTheDocument();\n\n // Renders 8 forms\n expect(await screen.findByRole(\"heading\", { name: 'qb-438 nccare360', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'All Question Types (testing)', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'Transportation Needs', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'tool-332 Survey_Title', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'Refactor Form Test', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'simple form', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'NY Cares', level: 5 })).toBeInTheDocument();\n expect(await screen.findByRole(\"heading\", { name: 'Edit logic', level: 5 })).toBeInTheDocument();\n });\n});"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,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A;QAAA;UAAA,OAAApB,QAAA,CAAAsC,IAAA;MAAA;IAAA,GAAAzC,OAAA;EAAA,CAC/F,GAAC;AACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unite-us/app-create-referral",
3
- "version": "0.1.64-broken-tests-5159cf1",
3
+ "version": "0.1.64",
4
4
  "main": "./dist/index.js",
5
5
  "author": "Alex Morales",
6
6
  "dependencies": {