Skip to content
Snippets Groups Projects

Issue #3280391: Add anon support to getObjectByPath

Closed Coby Sher requested to merge issue/drupal_state-3280391:3280391-control-authd-reqs into 1.0.x
5 files
+ 61
18
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -458,7 +458,7 @@ describe('drupalState', () => {
expect(fetchMock).toBeCalledTimes(2);
});
test('should fetch resource anonymously', async () => {
test('should fetch resource anonymously when using anon:true', async () => {
const store: DrupalState = new DrupalState({
apiBase: 'https://dev-ds-demo.pantheonsite.io',
apiPrefix: 'jsonapi',
Loading