Skip to content

Commit

Permalink
Fix spacing and Observable import path
Browse files Browse the repository at this point in the history
  • Loading branch information
caleballdrin committed Dec 6, 2024
1 parent cef9728 commit e8792b0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/common/services/api/order.service.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import angular from 'angular'
import 'angular-mocks'
import omit from 'lodash/omit'
import cloneDeep from 'lodash/cloneDeep'
import { Observable } from 'rxjs'
import { Observable } from 'rxjs/Observable'
import 'rxjs/add/observable/of'
import 'rxjs/add/observable/empty'
import formatAddressForTemplate from '../addressHelpers/formatAddressForTemplate'
import { Roles } from 'common/services/session/session.service'

Expand Down Expand Up @@ -1271,7 +1272,7 @@ describe('order service', () => {

mockController.bankAccountPaymentDetails = {}
self.orderService.submitOrder(mockController).subscribe(
()=>{
() => {
fail()
},
() => {
Expand Down Expand Up @@ -1309,8 +1310,6 @@ describe('order service', () => {
expect(mockController.$scope.$emit).toHaveBeenCalledWith(cartUpdatedEvent)
done()
})


})

it('should handle an error submitting an order with a credit card', (done) => {
Expand Down

0 comments on commit e8792b0

Please sign in to comment.