Skip to content

Commit

Permalink
Address TS error.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Oct 7, 2021
1 parent 2f03b10 commit a9bf190
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Cluster upgrade', () => {
});

test('renders overview', () => {
const { exists, find } = testBed;
const { exists } = testBed;
expect(exists('overview')).toBe(true);
expect(exists('isUpgradingMessage')).toBe(false);
expect(exists('isUpgradeCompleteMessage')).toBe(false);
Expand All @@ -38,7 +38,7 @@ describe('Cluster upgrade', () => {

describe('when cluster is in the process of a rolling upgrade', () => {
beforeEach(async () => {
httpRequestsMockHelpers.setLoadDeprecationLoggingResponse(null, {
httpRequestsMockHelpers.setLoadDeprecationLoggingResponse(undefined, {
statusCode: 426,
attributes: {
allNodesUpgraded: false,
Expand All @@ -61,7 +61,7 @@ describe('Cluster upgrade', () => {

describe('when cluster has been upgraded', () => {
beforeEach(async () => {
httpRequestsMockHelpers.setLoadDeprecationLoggingResponse(null, {
httpRequestsMockHelpers.setLoadDeprecationLoggingResponse(undefined, {
statusCode: 426,
attributes: {
allNodesUpgraded: true,
Expand Down

0 comments on commit a9bf190

Please sign in to comment.