Skip to content

Commit aa632e1

Browse files
author
Victor Wiebe
committed
fix: build issue
1 parent f0257c5 commit aa632e1

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

src/procedures/__tests__/ModifyShareholderData.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,18 @@ describe('ModifyShareholderData', () => {
187187
);
188188
});
189189

190+
test('should throw if the general transfer manager is not enabled', async () => {
191+
wrappersMock.mock('getAttachedModules', {});
192+
await expect(target.prepareTransactions()).rejects.toThrow(
193+
new PolymathError({
194+
code: ErrorCode.ProcedureValidationError,
195+
message: `General Transfer Manager for token "${
196+
params.symbol
197+
}" isn't enabled. Please report this issue to the Polymath team`,
198+
})
199+
);
200+
});
201+
190202
test('should throw if there is an invalid epoch time', async () => {
191203
const invalidParams = params;
192204
invalidParams.shareholderData[0].kycExpiry = new Date(0);
@@ -209,16 +221,5 @@ describe('ModifyShareholderData', () => {
209221
);
210222
});
211223
*/
212-
test('should throw if the general transfer manager is not enabled', async () => {
213-
wrappersMock.mock('getAttachedModules', {});
214-
await expect(target.prepareTransactions()).rejects.toThrow(
215-
new PolymathError({
216-
code: ErrorCode.ProcedureValidationError,
217-
message: `General Transfer Manager for token "${
218-
params.symbol
219-
}" isn't enabled. Please report this issue to the Polymath team`,
220-
})
221-
);
222-
});
223224
});
224225
});

0 commit comments

Comments
 (0)