Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ACNA-2092 - unit-test failures: aio-lib-ims-oauth 5.1.0 #636

Merged
merged 2 commits into from
Mar 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions test/commands/app/info.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

global.mockFs()
const TheCommand = require('../../../src/commands/app/info.js')
const BaseCommand = require('../../../src/BaseCommand.js')
const yaml = require('js-yaml')
Expand Down Expand Up @@ -57,10 +56,6 @@ describe('instance methods', () => {
})

describe('run', () => {
beforeEach(() => {
// mock files
global.loadFixtureApp('exc')
})
const checkHiddenSecrets = (logMock) => {
expect(logMock).not.toHaveBeenCalledWith(expect.stringContaining(global.fakeConfig.creds.runtime.auth))
expect(logMock).not.toHaveBeenCalledWith(expect.stringContaining(global.fakeS3Creds.accessKeyId))
Expand Down
1 change: 0 additions & 1 deletion test/commands/app/test.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const appHelper = require('../../../src/lib/app-helper')

// mocks
jest.mock('../../../src/lib/app-helper')
jest.mock('fs')

const mockGetAppExtConfigs = jest.fn()

Expand Down