Skip to content

Commit

Permalink
fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 committed Apr 9, 2024
1 parent a63c82b commit 271db0b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions gbfs-validator/__test__/gbfs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,6 @@ describe('conditional required vehicle_type_id', () => {
return gbfs.validation().then(result => {
expect(result).toMatchObject({
summary: expect.objectContaining({
validatorVersion: '1.0.0',
version: { detected: '2.2', validated: '2.2' },
hasErrors: true,
errorsCount: 2
Expand Down Expand Up @@ -603,7 +602,6 @@ describe('conditional no required vehicle_type_id', () => {
return gbfs.validation().then(result => {
expect(result).toMatchObject({
summary: expect.objectContaining({
validatorVersion: '1.0.0',
version: { detected: '2.2', validated: '2.2' }
}),
files: expect.arrayContaining([
Expand Down
3 changes: 0 additions & 3 deletions gbfs-validator/__test__/gbfs.v3.0-RC2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ describe('default feed', () => {
expect(result).toMatchObject({
summary: expect.objectContaining({
version: { detected: '3.0-RC2', validated: '3.0-RC2' },
validatorVersion: '1.0.0',
hasErrors: false
}),
files: expect.any(Array)
Expand Down Expand Up @@ -98,7 +97,6 @@ describe('invalid feed', () => {
expect(result).toMatchObject({
summary: expect.objectContaining({
version: { detected: '3.0-RC2', validated: '3.0-RC2' },
validatorVersion: '1.0.0',
hasErrors: true,
errorsCount: 1
}),
Expand Down Expand Up @@ -143,7 +141,6 @@ describe('exaustive feed', () => {
expect(result).toMatchObject({
summary: expect.objectContaining({
version: { detected: '3.0-RC2', validated: '3.0-RC2' },
validatorVersion: '1.0.0',
hasErrors: false
}),
files: expect.any(Array)
Expand Down

0 comments on commit 271db0b

Please sign in to comment.