• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

adobe / reactor-extension-core-edge / 4919391223

pending completion
4919391223

Pull #6

github

GitHub
Merge c7bf9cbfe into 4fc93ce42
Pull Request #6: Make Path data element view be easier to use.

218 of 375 branches covered (58.13%)

Branch coverage included in aggregate %.

124 of 124 new or added lines in 8 files covered. (100.0%)

395 of 561 relevant lines covered (70.41%)

28.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/view/dataElements/path/api/loadExtensions.js
1
/*
2
Copyright 2021 Adobe. All rights reserved.
3
This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
you may not use this file except in compliance with the License. You may obtain a copy
5
of the License at http://www.apache.org/licenses/LICENSE-2.0
6

7
Unless required by applicable law or agreed to in writing, software distributed under
8
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
OF ANY KIND, either express or implied. See the License for the specific language
10
governing permissions and limitations under the License.
11
*/
12

13
import fetch, { getFetchSettings } from '../../../utils/fetch';
14

15
export default () => {
16
  const { propertyId } = getFetchSettings();
×
17

18
  const url = `/properties/${propertyId}/extensions?page[size]=999&page[number]=1`;
×
19

20
  return fetch(url).catch((e) => {
×
21
    if (e instanceof TypeError) {
×
22
      throw new Error(`${e.message} when loading ${url}`);
×
23
    } else {
24
      throw e;
×
25
    }
26
  });
27
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc