-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix(hub-sites): prevent surveys and their feature services from being… #669
fix(hub-sites): prevent surveys and their feature services from being… #669
Conversation
… shared to site teams during si affects: @esri/hub-sites, @esri/hub-surveys ISSUES CLOSED: [2325](https://devtopia.esri.com/dc/hub/issues/2325)
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.
Nice work @rweber-esri, but I would like to keep from introducing another peer dep, which would require a breaking change and add to the work in #655
…b-common to avoid adding a peer affects: @esri/hub-common, @esri/hub-sites, @esri/hub-surveys
…iles there affects: @esri/hub-common, @esri/hub-sites
affects: @esri/hub-common
Codecov Report
@@ Coverage Diff @@
## master #669 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 462 457 -5
Lines 6623 6642 +19
Branches 1053 1058 +5
=========================================
+ Hits 6623 6642 +19
Continue to review full report at Codecov.
|
@tomwayson I believe I've addressed your feedback. I:
|
import { StakeholderItem } from "../mocks/stakeholder-item"; | ||
import { UpdateGroup } from "../mocks/update-group"; | ||
import { ViewGroup } from "../mocks/view-group"; | ||
import * as FormItemDraft from "../../../common/test/mocks/items/form-item-draft.json"; |
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.
@tomwayson wasn't sure how else to re-use the fixtures that moved from hub-surveys
to hub-common
short of just duplicating them in hub-surveys
and hub-common
. I think this is OK since it's just tests, and Node runs them, so it's able to resolve the paths even though it's reaching out of the current package. Thoughts?
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.
I think this is fine. What I did for other fixtures was to make a symlink under the consuming package's test folder to the fixtures under common.
@tomwayson was having some issues w/ GH and did not explicitly add approval as a result, but did give me verbal approval this is good-to-go. |
… shared to site teams during si
affects: @esri/hub-sites, @esri/hub-surveys
ISSUES CLOSED: 2325
Description:
Instructions for testing:
Closes Issues: #2325
ran commit script (
npm run c
)For more information see the README