Skip to content

Commit

Permalink
Remove unnecessary async
Browse files Browse the repository at this point in the history
  • Loading branch information
Beckyrose200 committed Oct 21, 2024
1 parent 77d3c0f commit d1b8b63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Process Billing Flag Service', () => {
let notifierStub
let payload

beforeEach(async () => {
beforeEach(() => {
// The service depends on GlobalNotifier to have been set. This happens in app/plugins/global-notifier.plugin.js
// when the app starts up and the plugin is registered. As we're not creating an instance of Hapi server in this
// test we recreate the condition by setting it directly with our own stub
Expand Down Expand Up @@ -52,7 +52,7 @@ describe('Process Billing Flag Service', () => {
})

describe('with a charge version id', () => {
before(async () => {
before(() => {
payload = {
chargeVersionId: 'a9e62338-8053-4bde-9344-def69f5ca416'
}
Expand Down

0 comments on commit d1b8b63

Please sign in to comment.