Skip to content

Commit

Permalink
WIP working tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iqbalgds committed Jun 7, 2024
1 parent e9a88bf commit 7cc2075
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/controllers/client-side-logging.controller.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const clientSideLoggingController = proxyquire('../../app/controllers/client-sid
})
})

describe('The client-side logging controller', () => {
describe.only('The client-side logging controller', () => {
beforeEach(() => {
loggingSpy.resetHistory()
})
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/return.controller.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const requireReturnController = function () {
return proxyquire('../../app/controllers/return.controller.js', mocks)
}

describe('return controller', function () {
describe.only('return controller', function () {
let request, response

beforeEach(function () {
Expand Down
4 changes: 2 additions & 2 deletions test/controllers/static.controller.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const requireStaticController = function () {
return require('../../app/controllers/static.controller.js')
}

describe('static controller', function () {
describe('naxsi system error endpoint', function () {
describe.only('static controller', function () {
describe.only('naxsi system error endpoint', function () {
let request, response

before(function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const requireHandleAuthResponseController = (mockedCharge, mockedNormaliseCharge
return proxyquire('../../../app/controllers/web-payments/handle-auth-response.controller', proxyquireMocks)
}

describe('The web payments handle auth response controller', () => {
describe.only('The web payments handle auth response controller', () => {
let res
beforeEach(() => {
res = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ require('../../test-helpers/html-assertions')
const mockNormalise = object => object
const chargeId = 'chargeId'

describe('The web payments auth request controller', () => {
describe('when processing an Apple Pay payment', () => {
describe.only('The web payments auth request controller', () => {
describe.only('when processing an Apple Pay payment', () => {
const wallet = 'apple'
const req = {
headers: {
Expand Down Expand Up @@ -81,7 +81,7 @@ describe('The web payments auth request controller', () => {
})
})

describe('when processing a Google Pay payment', () => {
describe.only('when processing a Google Pay payment', () => {
const wallet = 'google'
const req = {
headers: {
Expand Down

0 comments on commit 7cc2075

Please sign in to comment.