@@ -24,7 +24,7 @@ import { Factories } from '../../Context';
2424import { SimpleSto , SecurityToken } from '../../entities' ;
2525import * as securityTokenFactoryModule from '../../entities/factories/SecurityTokenFactory' ;
2626import { Wallet } from '../../Wallet' ;
27- import { ApproveErc20 } from '~ /procedures' ;
27+ import { ApproveErc20 } from '../.. /procedures' ;
2828
2929const simpleParams : InvestInSimpleStoProcedureArgs = {
3030 symbol : 'TEST1' ,
@@ -231,7 +231,7 @@ describe('InvestInSimpleSto', () => {
231231 ) ;
232232 } ) ;
233233
234- test ( 'should throw an error if the simple sto has not been launched or is archived' , async ( ) => {
234+ test ( 'should throw an error if the simple sto has not yet been launched or is archived' , async ( ) => {
235235 moduleWrapperFactoryMock . mock ( 'getModuleInstance' , Promise . resolve ( undefined ) ) ;
236236
237237 await expect ( target . prepareTransactions ( ) ) . rejects . toThrow (
@@ -272,7 +272,7 @@ describe('InvestInSimpleSto', () => {
272272 ) ;
273273 } ) ;
274274
275- test ( 'should throw an error if the sto is already finalized' , async ( ) => {
275+ test ( 'should throw an error if the sto has already been finalized' , async ( ) => {
276276 simpleStoFactoryMock . mock ( 'fetch' , {
277277 ...simpleStoObject ,
278278 isFinalized : true ,
@@ -286,7 +286,7 @@ describe('InvestInSimpleSto', () => {
286286 ) ;
287287 } ) ;
288288
289- test ( 'should throw an error if the start date is in the future' , async ( ) => {
289+ test ( 'should throw an error if the sto start date is in the future' , async ( ) => {
290290 simpleStoFactoryMock . mock ( 'fetch' , {
291291 ...simpleStoObject ,
292292 startDate : new Date ( 2040 , 0 ) ,
@@ -300,7 +300,7 @@ describe('InvestInSimpleSto', () => {
300300 ) ;
301301 } ) ;
302302
303- test ( 'should throw an error if beneficial investments not allowed, and the parameters include a beneficiary address' , async ( ) => {
303+ test ( 'should throw an error if beneficial investments are not allowed and the parameters include a beneficiary address' , async ( ) => {
304304 target = new InvestInSimpleSto (
305305 { ...simpleParams , beneficiary : beneficiaryAddress } ,
306306 contextMock . getMockInstance ( )
0 commit comments