Skip to content

Commit

Permalink
oops revert
Browse files Browse the repository at this point in the history
  • Loading branch information
mum-never-proud committed Mar 29, 2020
1 parent 1b12050 commit 32288ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon-test-support/extend/find-many.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function findMany(pageObjectNode, targetSelector, options = {}) {
});

const filteredOptions = filterWhitelistedOption(options, [
'resetScope', 'visible', 'testContainer', 'contains', 'scope', 'at', 'last', 'exact'
'resetScope', 'visible', 'testContainer', 'contains', 'scope', 'at', 'last'
]);
const opts = Object.assign({}, filteredOptions, { multiple: true });
return getExecutionContext(pageObjectNode).find(targetSelector, opts).get();
Expand Down
2 changes: 1 addition & 1 deletion addon-test-support/extend/find-one.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { filterWhitelistedOption } from "../-private/helpers";
*/
export function findOne(pageObjectNode, targetSelector, options = {}) {
const filteredOptions = filterWhitelistedOption(options, [
'resetScope', 'visible', 'testContainer', 'contains', 'at', 'last', 'scope', 'pageObjectKey', 'exact'
'resetScope', 'visible', 'testContainer', 'contains', 'at', 'last', 'scope', 'pageObjectKey'
]);
const opts = Object.assign({}, filteredOptions, { multiple: false });
return getExecutionContext(pageObjectNode).findWithAssert(targetSelector, opts).get(0);
Expand Down

0 comments on commit 32288ad

Please sign in to comment.