Skip to content

Commit

Permalink
feat: add validator to umbrella package (apache#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw authored and zhaoyongjie committed Nov 17, 2021
1 parent 5b167d5 commit 184740b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@superset-ui/number-format": "0.12.12",
"@superset-ui/query": "0.12.12",
"@superset-ui/time-format": "0.12.12",
"@superset-ui/translation": "0.12.12"
"@superset-ui/translation": "0.12.12",
"@superset-ui/validator": "0.12.12"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export * from '@superset-ui/number-format';
export * from '@superset-ui/query';
export * from '@superset-ui/time-format';
export * from '@superset-ui/translation';
export * from '@superset-ui/validator';
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
buildQueryContext,
getTimeFormatterRegistry,
t,
validateInteger,
} from '../src';

describe('@superset-ui/superset-ui', () => {
Expand Down Expand Up @@ -42,4 +43,7 @@ describe('@superset-ui/superset-ui', () => {
it('should export @superset-ui/translation', () => {
expect(t).toBeDefined();
});
it('should export @superset-ui/validator', () => {
expect(validateInteger).toBeDefined();
});
});

0 comments on commit 184740b

Please sign in to comment.