Skip to content

Commit

Permalink
logo as png
Browse files Browse the repository at this point in the history
  • Loading branch information
znarf committed Nov 29, 2023
1 parent 0b2f211 commit 627a9ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server/badge.routes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ describe('badge.routes.test.js', () => {

describe('collective logo', () => {
test(
'loads the logo in ascii',
'loads the logo in png',
async () => {
const res = await fetchResponse('/railsgirlsatl/logo.txt');
const res = await fetchResponse('/railsgirlsatl/logo.png');
expect(res.status).toEqual(200);
expect(res.headers.get('content-type')).toEqual('text/plain; charset=utf-8');
expect(res.headers.get('cache-control')).toMatch(/public, max-age=[1-9][0-9]{3,7}/);
Expand Down

0 comments on commit 627a9ff

Please sign in to comment.