Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zentestuken committed Jan 22, 2025
1 parent 4776a18 commit 350f950
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import moment from 'moment';
import { calloutTypes } from '../../../../../../interactors';
import { getTestEntityValue } from '../../../../../support/utils/stringTools';
import ConsortiumManagerApp, {
Expand Down Expand Up @@ -120,12 +119,6 @@ describe('Consortia', () => {
name: alternativeTitleTypes4.name,
});
ConsortiaControlledVocabularyPaneset.clickSave();
const rowDataToCheck = [
alternativeTitleTypes4.name,
'consortium',
moment().format('l'),
'All',
];

ConfirmShare.waitLoadingConfirmShareToAll(alternativeTitleTypes4.name);
ConfirmShare.clickConfirm();
Expand All @@ -135,10 +128,10 @@ describe('Consortia', () => {
messages.noPermission(tenantNames.college),
calloutTypes.error,
);
ConsortiaControlledVocabularyPaneset.verifyRecordInTheList(alternativeTitleTypes4.name, [
'edit',
'trash',
]);
ConsortiaControlledVocabularyPaneset.verifyRecordInTheList(
alternativeTitleTypes4.name,
['edit', 'trash'],
);

ConsortiaControlledVocabularyPaneset.createViaUi(true, alternativeTitleTypes5);
ConsortiaControlledVocabularyPaneset.clickSave();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import moment from 'moment';
import { calloutTypes } from '../../../../../../interactors';
import { getTestEntityValue } from '../../../../../support/utils/stringTools';
import ConsortiumManagerApp, {
Expand Down Expand Up @@ -123,12 +122,6 @@ describe('Consortia', () => {
name: classificationType4.name,
});
ConsortiaControlledVocabularyPaneset.clickSave();
const createdCIT = [
classificationType4.name,
'consortium',
moment().format('l'),
'All',
];

ConfirmShare.waitLoadingConfirmShareToAll(classificationType4.name);
ConfirmShare.clickConfirm();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import moment from 'moment';
import { calloutTypes } from '../../../../../../interactors';
import { getTestEntityValue } from '../../../../../support/utils/stringTools';
import ConsortiumManagerApp, {
Expand Down Expand Up @@ -115,7 +114,6 @@ describe('Consortia', () => {
name: instanceNote4.name,
});
ConsortiaControlledVocabularyPaneset.clickSave();
const createdCIT = [instanceNote4.name, 'consortium', moment().format('l'), 'All'];

ConfirmShare.waitLoadingConfirmShareToAll(instanceNote4.name);
ConfirmShare.clickConfirm();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import moment from 'moment';
import { calloutTypes } from '../../../../../../interactors';
import { getTestEntityValue } from '../../../../../support/utils/stringTools';
import ConsortiumManagerApp, {
Expand Down Expand Up @@ -115,7 +114,6 @@ describe('Consortia', () => {
name: modesIssuance4.name,
});
ConsortiaControlledVocabularyPaneset.clickSave();
const createdCIT = [modesIssuance4.name, 'consortium', moment().format('l'), 'All'];

ConfirmShare.waitLoadingConfirmShareToAll(modesIssuance4.name);
ConfirmShare.clickConfirm();
Expand Down
1 change: 0 additions & 1 deletion cypress/support/fragments/eholdings/eHoldingsPackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ export default {
return cy
.then(() => proxySelect.checkedOptionText())
.then((selectedProxy) => {
cy.log(selectedProxy);
cy.getEholdingsProxiesViaAPI().then((existingProxies) => {
const notSelectedProxy = existingProxies.filter(
(existingProxy) => existingProxy !== selectedProxy,
Expand Down

0 comments on commit 350f950

Please sign in to comment.