Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

fix(superset-ui-query): add unit tests for #387 #390

Merged
merged 2 commits into from
Apr 27, 2020

Conversation

ktmud
Copy link
Contributor

@ktmud ktmud commented Apr 26, 2020

🏆 Enhancements

Add unit tests for #387, increase test coverage for core packages back to 100%.

cc @etr2460 @williaster @kristw @villebro

@ktmud ktmud requested a review from a team as a code owner April 26, 2020 06:28
@vercel
Copy link

vercel bot commented Apr 26, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/superset/superset-ui/2w4prjcpr
✅ Preview: https://superset-ui-git-fork-ktmud-fix-test-coverage.superset.now.sh

@codecov
Copy link

codecov bot commented Apr 26, 2020

Codecov Report

Merging #390 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #390      +/-   ##
==========================================
+ Coverage   26.31%   26.33%   +0.01%     
==========================================
  Files         192      192              
  Lines        5293     5293              
  Branches      475      475              
==========================================
+ Hits         1393     1394       +1     
  Misses       3864     3864              
+ Partials       36       35       -1     
Impacted Files Coverage Δ
...kages/superset-ui-query/src/types/QueryFormData.ts 100.00% <ø> (ø)
packages/superset-ui-query/src/buildQueryObject.ts 100.00% <100.00%> (+7.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1f9e493...754e3bc. Read the comment docs.

@@ -1,6 +1,6 @@
import { buildQueryContext } from '../src';

describe('queryContextBuilder', () => {
describe('buildQueryContect', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo Contect => Context

@ktmud ktmud force-pushed the fix-test-coverage branch from 57c0734 to ab44ee7 Compare April 27, 2020 17:32
@vercel vercel bot temporarily deployed to Preview April 27, 2020 17:54 Inactive
@ktmud ktmud force-pushed the fix-test-coverage branch from 65ee9e1 to 48c5f74 Compare April 27, 2020 17:55
@ktmud ktmud force-pushed the fix-test-coverage branch from 48c5f74 to 754e3bc Compare April 27, 2020 18:04
@ktmud ktmud merged commit 7b5e5d2 into apache-superset:master Apr 27, 2020
@ktmud ktmud deleted the fix-test-coverage branch April 27, 2020 19:47
@etr2460
Copy link
Contributor

etr2460 commented Apr 30, 2020

Thanks for the unit tests! Sorry I didn't add them back when fixing this...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants