• 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

76.92
/src/view/dataElements/path/form/validate.js
1
/*
2
Copyright 2020 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 actionSources from '../helpers/actionSources';
14

15
const { getActionSourceId } = actionSources;
1✔
16

17
export default (values) => {
18
  const errors = {};
1✔
19

20
  if (!values.action) {
1!
21
    errors.action = 'Please select an action.';
×
22
  }
23

24
  if (!values.path && getActionSourceId(values.action) === 'custom') {
1!
25
    errors.path = 'Please specify a path.';
1✔
26
  }
27

28
  return errors;
1✔
29
};
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

© 2026 Coveralls, Inc