Skip to content

Commit

Permalink
remove events.json test
Browse files Browse the repository at this point in the history
  • Loading branch information
znarf committed Nov 21, 2023
1 parent 2854fd3 commit ce31d02
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions test/server/api.json.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,29 +68,6 @@ describe('api.json.test.js', () => {
});

describe('event', () => {
test('return /:collectiveSlug/events.json', async () => {
const events = await fetchJson('/veganizerbxl/events.json');
expect(events).toHaveLength(6);
expect(events[0]).toEqual({
id: 8722,
name: 'Vegan Dining Week',
description: null,
slug: 'vegandiningweek-407ev',
image: 'https://cl.ly/1G0T0G2c062b/Slice.png',
startsAt: 'Fri Nov 10 2017 22:00:00 GMT+0000 (Coordinated Universal Time)',
endsAt: 'Sat Nov 18 2017 22:00:00 GMT+0000 (Coordinated Universal Time)',
timezone: 'Europe/Brussels',
location: {
name: 'Brussels',
address: 'Brussels',
lat: 50.8503396,
long: 4.3517103,
},
url: 'https://opencollective.com/veganizerbxl/events/vegandiningweek-407ev',
info: 'https://opencollective.com/veganizerbxl/events/vegandiningweek-407ev.json',
});
});

test('return /:collectiveSlug/events/:eventSlug.json', async () => {
const event = await fetchJson('/veganizerbxl/events/superfilles.json');
expect(event).toEqual({
Expand Down

0 comments on commit ce31d02

Please sign in to comment.