File tree 2 files changed +39
-1
lines changed
2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1
- export { NpmPackageJsonLint } from './npm-package-json-lint' ;
1
+ export { NpmPackageJsonLint , NpmPackageJsonLintOptions } from './npm-package-json-lint' ;
2
+
3
+ export { LintIssue } from './lint-issue' ;
4
+
5
+ export { Severity } from './types/severity' ;
6
+
7
+ export { LinterResult } from './linter/linter' ;
8
+
9
+ export { PackageJsonFileLintingResult } from './types/package-json-linting-result' ;
10
+
11
+ export { PackageJsonFileAggregatedResultCounts , OverallAggregatedResultCounts } from './linter/results-helper' ;
Original file line number Diff line number Diff line change @@ -6,4 +6,32 @@ describe('api Unit Tests', () => {
6
6
test ( 'NpmPackageJsonLint should be exported' , ( ) => {
7
7
expect ( api ) . toHaveProperty ( 'NpmPackageJsonLint' ) ;
8
8
} ) ;
9
+
10
+ test ( 'NpmPackageJsonLintOptions should be exported' , ( ) => {
11
+ expect ( api ) . not . toHaveProperty ( 'NpmPackageJsonLintOptions' ) ;
12
+ } ) ;
13
+
14
+ test ( 'LintIssue should be exported' , ( ) => {
15
+ expect ( api ) . toHaveProperty ( 'LintIssue' ) ;
16
+ } ) ;
17
+
18
+ test ( 'Severity should be exported' , ( ) => {
19
+ expect ( api ) . toHaveProperty ( 'Severity' ) ;
20
+ } ) ;
21
+
22
+ test ( 'LinterResult should be exported' , ( ) => {
23
+ expect ( api ) . not . toHaveProperty ( 'LinterResult' ) ;
24
+ } ) ;
25
+
26
+ test ( 'PackageJsonFileLintingResult should be exported' , ( ) => {
27
+ expect ( api ) . not . toHaveProperty ( 'PackageJsonFileLintingResult' ) ;
28
+ } ) ;
29
+
30
+ test ( 'PackageJsonFileAggregatedResultCounts should be exported' , ( ) => {
31
+ expect ( api ) . not . toHaveProperty ( 'PackageJsonFileAggregatedResultCounts' ) ;
32
+ } ) ;
33
+
34
+ test ( 'OverallAggregatedResultCounts should be exported' , ( ) => {
35
+ expect ( api ) . not . toHaveProperty ( 'OverallAggregatedResultCounts' ) ;
36
+ } ) ;
9
37
} ) ;
You can’t perform that action at this time.
0 commit comments