Skip to content

Commit 0d49d3e

Browse files
committed
test: some tests are no longer async
1 parent 33f135a commit 0d49d3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ describe('function helpers', () => {
816816
})
817817

818818
describe('custom headers', () => {
819-
it('sets custom headers in the Netlify configuration', async () => {
819+
it('sets custom headers in the Netlify configuration', () => {
820820
netlifyConfig.headers = []
821821
const headers = [
822822
// single header for a route
@@ -852,7 +852,7 @@ describe('custom headers', () => {
852852
expect(netlifyConfig.headers).toMatchSnapshot()
853853
})
854854

855-
it('appends custom headers in the Netlify configuration', async () => {
855+
it('appends custom headers in the Netlify configuration', () => {
856856
netlifyConfig.headers = [
857857
{
858858
for: '/',

0 commit comments

Comments
 (0)