Skip to content

Commit

Permalink
chore(gatsby): Drop deprecated (and unused) async describe blocks (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
blainekasten committed Jan 10, 2020
1 parent 3920194 commit 8a90943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-feed/src/__tests__/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global.Date = jest.fn(() => DATE_TO_USE)
global.Date.UTC = _Date.UTC
global.Date.now = _Date.now

describe(`Test plugin feed`, async () => {
describe(`Test plugin feed`, () => {
beforeEach(() => {
fs.exists = jest.fn().mockResolvedValue(true)
fs.writeFile = jest.fn().mockResolvedValue()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ beforeEach(() => {
global.__PATH_PREFIX__ = ``
})

describe(`Test plugin sitemap`, async () => {
describe(`Test plugin sitemap`, () => {
it(`default settings work properly`, async () => {
internals.writeFile = jest.fn()
internals.writeFile.mockResolvedValue(true)
Expand Down

0 comments on commit 8a90943

Please sign in to comment.