-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
test: FilterSets-utils #14028
test: FilterSets-utils #14028
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14028 +/- ##
==========================================
- Coverage 79.40% 79.36% -0.04%
==========================================
Files 936 938 +2
Lines 47427 47548 +121
Branches 5938 5947 +9
==========================================
+ Hits 37658 37738 +80
- Misses 9643 9689 +46
+ Partials 126 121 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
.../dashboard/components/nativeFilters/FilterBar/FilterSets/utils/findExistingFilterSet.test.ts
Outdated
Show resolved
Hide resolved
.../dashboard/components/nativeFilters/FilterBar/FilterSets/utils/findExistingFilterSet.test.ts
Outdated
Show resolved
Hide resolved
...c/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/generateFiltersSetId.test.ts
Outdated
Show resolved
Hide resolved
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
import { generateFiltersSetId } from '.'; |
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.
Maybe also check for expected ID length?
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'm not sure if the generated string is the same size. But I believe that this is not so important
…rBar/FilterSets/utils/findExistingFilterSet.test.ts Co-authored-by: Michael S. Molina <[email protected]>
…rBar/FilterSets/utils/findExistingFilterSet.test.ts Co-authored-by: Michael S. Molina <[email protected]>
…rBar/FilterSets/utils/generateFiltersSetId.test.ts Co-authored-by: Michael S. Molina <[email protected]>
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.
LGTM!
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.
Thanks @yardz !
* Tests for "nativeFilters/FilterBar/FilterSets/utils" * Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/findExistingFilterSet.test.ts Co-authored-by: Michael S. Molina <[email protected]> * Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/findExistingFilterSet.test.ts Co-authored-by: Michael S. Molina <[email protected]> * Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/generateFiltersSetId.test.ts Co-authored-by: Michael S. Molina <[email protected]> * Fix: Lint error Co-authored-by: Michael S. Molina <[email protected]>
* Tests for "nativeFilters/FilterBar/FilterSets/utils" * Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/findExistingFilterSet.test.ts Co-authored-by: Michael S. Molina <[email protected]> * Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/findExistingFilterSet.test.ts Co-authored-by: Michael S. Molina <[email protected]> * Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/generateFiltersSetId.test.ts Co-authored-by: Michael S. Molina <[email protected]> * Fix: Lint error Co-authored-by: Michael S. Molina <[email protected]>
SUMMARY
Tests for functions in
src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils