Skip to content

Commit 8a90943

Browse files
authored
chore(gatsby): Drop deprecated (and unused) async describe blocks (#20532)
1 parent 3920194 commit 8a90943

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/gatsby-plugin-feed/src/__tests__/gatsby-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ global.Date = jest.fn(() => DATE_TO_USE)
88
global.Date.UTC = _Date.UTC
99
global.Date.now = _Date.now
1010

11-
describe(`Test plugin feed`, async () => {
11+
describe(`Test plugin feed`, () => {
1212
beforeEach(() => {
1313
fs.exists = jest.fn().mockResolvedValue(true)
1414
fs.writeFile = jest.fn().mockResolvedValue()

packages/gatsby-plugin-sitemap/src/__tests__/gatsby-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ beforeEach(() => {
1212
global.__PATH_PREFIX__ = ``
1313
})
1414

15-
describe(`Test plugin sitemap`, async () => {
15+
describe(`Test plugin sitemap`, () => {
1616
it(`default settings work properly`, async () => {
1717
internals.writeFile = jest.fn()
1818
internals.writeFile.mockResolvedValue(true)

0 commit comments

Comments
 (0)