Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
test(wording): fix wording in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
James Singleton committed Sep 11, 2020
1 parent fca02b5 commit 5f79399
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/integration/one-app.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ describe('Tests that require Docker setup', () => {
});
describe('successful fetch of error page', () => {
beforeAll(loadCustomErrorPageRoot);
test('responses with custom error page', async () => {
test('responds with a custom error page', async () => {
const response = await fetch(
`${appAtTestUrls.fetchUrl}/%c0.%c0./%c0.%c0./%c0.%c0./%c0.%c0./winnt/win.ini`,
defaultFetchOptions
Expand Down
2 changes: 1 addition & 1 deletion __tests__/server/middleware/sendHtml.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ describe('sendHtml', () => {
expect(res.send.mock.calls[0][0]).toContain('<!DOCTYPE html>');
expect(res.send.mock.calls[0][0]).toContain('<meta name="application-name" content="one-app">');
});
it('returns provided error page if provided', async () => {
it('returns a custom error page if provided', async () => {
const errorPageUrl = 'https://example.com';
const mockResponse = `<!doctype html>
<html>
Expand Down

0 comments on commit 5f79399

Please sign in to comment.