Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkornev committed Nov 24, 2022
1 parent 4d24147 commit 89a76e2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/src/ruleset/__tests__/ruleset.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ describe('Ruleset', () => {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand Down Expand Up @@ -605,6 +606,7 @@ describe('Ruleset', () => {
description: null,
documentationUrl: null,
enabled: false,
extensions: null,
formats: null,
given: ['$.info.contact'],
message: 'Contact name must contain Stoplight',
Expand All @@ -624,6 +626,7 @@ describe('Ruleset', () => {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$.info'],
message: 'Description must contain Stoplight',
Expand All @@ -643,6 +646,7 @@ describe('Ruleset', () => {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$.info'],
message: 'Title must contain Stoplight',
Expand Down Expand Up @@ -1168,6 +1172,7 @@ describe('Ruleset', () => {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['#PathItem'],
message: null,
Expand All @@ -1187,6 +1192,7 @@ describe('Ruleset', () => {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['#Name', '#Description'],
message: null,
Expand All @@ -1206,6 +1212,7 @@ describe('Ruleset', () => {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['#Info.contact'],
message: null,
Expand Down Expand Up @@ -1630,6 +1637,7 @@ describe('Ruleset', () => {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['#Id'],
message: null,
Expand Down
6 changes: 6 additions & 0 deletions packages/ruleset-bundler/src/loader/__tests__/browser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export default {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand All @@ -134,6 +135,7 @@ export default {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand All @@ -152,6 +154,7 @@ export default {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand Down Expand Up @@ -189,6 +192,7 @@ export default {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand All @@ -207,6 +211,7 @@ export default {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand All @@ -225,6 +230,7 @@ export default {
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export {default} from '/-/[email protected]/dist=es20
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand All @@ -66,6 +67,7 @@ export {default} from '/-/[email protected]/dist=es20
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand All @@ -84,6 +86,7 @@ export {default} from '/-/[email protected]/dist=es20
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand Down Expand Up @@ -121,6 +124,7 @@ export {default} from '/-/[email protected]/dist=es20
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand All @@ -139,6 +143,7 @@ export {default} from '/-/[email protected]/dist=es20
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand All @@ -157,6 +162,7 @@ export {default} from '/-/[email protected]/dist=es20
description: null,
documentationUrl: null,
enabled: true,
extensions: null,
formats: null,
given: ['$'],
message: null,
Expand Down

0 comments on commit 89a76e2

Please sign in to comment.