Skip to content

Commit 9e1114b

Browse files
committed
test: some tests are no longer async
1 parent 1498837 commit 9e1114b

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
@@ -795,7 +795,7 @@ describe('function helpers', () => {
795795
})
796796

797797
describe('custom headers', () => {
798-
it('sets custom headers in the Netlify configuration', async () => {
798+
it('sets custom headers in the Netlify configuration', () => {
799799
netlifyConfig.headers = []
800800
const headers = [
801801
// single header for a route
@@ -831,7 +831,7 @@ describe('custom headers', () => {
831831
expect(netlifyConfig.headers).toMatchSnapshot()
832832
})
833833

834-
it('appends custom headers in the Netlify configuration', async () => {
834+
it('appends custom headers in the Netlify configuration', () => {
835835
netlifyConfig.headers = [
836836
{
837837
for: '/',

0 commit comments

Comments
 (0)