Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JSFernandes committed Nov 24, 2023
1 parent e090e51 commit 0e078eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions run-ecs-task/__tests__/runEcsTask.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ const runEcsTask = require('../runEcsTask')

describe('runEcsTask', () => {
const buildMock = (data) => (
jest.fn().mockReturnValue({
promise: () => Promise.resolve(data)
})
jest.fn().mockReturnValue(data)
)
const buildEcsMock = ({
describeServices = buildMock({
Expand Down

0 comments on commit 0e078eb

Please sign in to comment.