Skip to content

Commit

Permalink
MNT Update test label
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Mar 29, 2023
1 parent 9053e60 commit 6138411
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ describe('UploadField', () => {
});
});

describe('componentWillReceiveProps', () => {
describe('componentDidUpdate', () => {
beforeEach(() => {
file = ReactTestUtils.renderIntoDocument(
<UploadField {...props} />
Expand Down
1 change: 0 additions & 1 deletion client/src/containers/Gallery/Gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ class Gallery extends Component {
handleSort(value) {
this.props.actions.queuedFiles.purgeUploadQueue();
this.props.onSort(value);
// this will flow round to `componentWillReceiveProps` and update sort there.
}

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/containers/Gallery/tests/Gallery-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ describe('Gallery', () => {
});
});

describe('componentWillReceiveProps()', () => {
describe('componentDidUpdate()', () => {
let gallery = null;

beforeEach(() => {
Expand Down

0 comments on commit 6138411

Please sign in to comment.