File tree 5 files changed +20
-6
lines changed
5 files changed +20
-6
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "extension" : [" ts" ],
3
+ "require" : " ts-node/register" ,
4
+ "spec" : " test/integration/**/*.spec.ts" ,
5
+ "timeout" : 35000
6
+ }
Original file line number Diff line number Diff line change 2
2
"extension" : [" ts" ],
3
3
"require" : " ts-node/register" ,
4
4
"spec" : " test/**/*.spec.ts" ,
5
+ "ignore" : [" test/integration/**/*" ],
5
6
"timeout" : 35000
6
7
}
Original file line number Diff line number Diff line change 7
7
"build" : " tsc -p tsconfig.build.json" ,
8
8
"debug" : " nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec node --inspect -r ts-node/register ./src/server.ts" ,
9
9
"start" : " NODE_ENV=production ts-node -T src/server.ts" ,
10
- "test" : " nyc mocha"
10
+ "test" : " nyc mocha" ,
11
+ "test:integration" : " nyc mocha --config .mocharc.integration.json"
11
12
},
12
13
"repository" : {
13
14
"type" : " git" ,
Original file line number Diff line number Diff line change 9
9
"build:validation" : " pnpm nx build @overture-stack/lectern-validation" ,
10
10
"build:server" : " pnpm nx build @overture-stack/lectern-server" ,
11
11
"build:client" : " pnpm nx build @overture-stack/lectern-client" ,
12
- "test:all" : " pnpm nx run-many --all --target=test" ,
13
- "test:dictionary" : " pnpm nx test @overture-stack/lectern-dictionary" ,
14
- "test:validation" : " pnpm nx test @overture-stack/lectern-validation" ,
15
- "test:server" : " pnpm nx test @overture-stack/lectern-server" ,
16
- "test:client" : " pnpm nx test @overture-stack/lectern-client" ,
12
+ "test:all" : " pnpm nx run-many --all --target=test,test:integration" ,
13
+ "test:unit:all" : " pnpm nx run-many --all --target=test" ,
14
+ "test:unit:dictionary" : " pnpm nx test @overture-stack/lectern-dictionary" ,
15
+ "test:unit:validation" : " pnpm nx test @overture-stack/lectern-validation" ,
16
+ "test:unit:server" : " pnpm nx test @overture-stack/lectern-server" ,
17
+ "test:unit:client" : " pnpm nx test @overture-stack/lectern-client" ,
18
+ "test:integration:server" : " pnpm nx test:integration @overture-stack/lectern-server" ,
17
19
"generate" : " pnpm build:dictionary && pnpm -C scripts generate"
18
20
},
19
21
"keywords" : [],
Original file line number Diff line number Diff line change @@ -36,15 +36,19 @@ export type {
36
36
TestResult ,
37
37
TestResultValid ,
38
38
TestResultInvalid ,
39
+ SchemaValidationRecordErrorDetails ,
39
40
SchemaRecordError ,
41
+ DictionaryValidationRecordErrorDetails ,
40
42
DictionaryValidationError ,
43
+ FieldValidationErrorRestrictionInfo ,
41
44
FieldValidationError ,
42
45
ParseDictionaryData ,
43
46
ParseDictionaryFailure ,
44
47
ParseDictionaryResult ,
45
48
ParseSchemaError ,
46
49
ParseSchemaFailureData ,
47
50
ParseSchemaResult ,
51
+ ParseRecordFailureData ,
48
52
ParseRecordResult ,
49
53
} from '@overture-stack/lectern-validation' ;
50
54
You can’t perform that action at this time.
0 commit comments