Jelajahi Sumber

Move ERC20 tests to ERC20 custom folder (#772)

Facundo Spagnuolo 7 tahun lalu
induk
melakukan
9f52e94339

+ 1 - 1
test/token/BasicToken.test.js → test/token/ERC20/BasicToken.test.js

@@ -1,4 +1,4 @@
-import assertRevert from '../helpers/assertRevert';
+import assertRevert from '../../helpers/assertRevert';
 const BasicToken = artifacts.require('BasicTokenMock');
 
 contract('StandardToken', function ([_, owner, recipient, anotherAccount]) {

+ 1 - 1
test/token/BurnableToken.test.js → test/token/ERC20/BurnableToken.test.js

@@ -1,4 +1,4 @@
-import assertRevert from '../helpers/assertRevert';
+import assertRevert from '../../helpers/assertRevert';
 const BurnableTokenMock = artifacts.require('BurnableTokenMock');
 
 contract('BurnableToken', function ([owner]) {

+ 2 - 2
test/token/CappedToken.test.js → test/token/ERC20/CappedToken.test.js

@@ -1,6 +1,6 @@
 
-import expectThrow from '../helpers/expectThrow';
-import ether from '../helpers/ether';
+import expectThrow from '../../helpers/expectThrow';
+import ether from '../../helpers/ether';
 
 var CappedToken = artifacts.require('CappedToken');
 

+ 1 - 1
test/token/MintableToken.test.js → test/token/ERC20/MintableToken.test.js

@@ -1,4 +1,4 @@
-import assertRevert from '../helpers/assertRevert';
+import assertRevert from '../../helpers/assertRevert';
 const MintableToken = artifacts.require('MintableToken');
 
 contract('Mintable', function ([owner, anotherAccount]) {

+ 1 - 1
test/token/PausableToken.test.js → test/token/ERC20/PausableToken.test.js

@@ -1,4 +1,4 @@
-import assertRevert from '../helpers/assertRevert';
+import assertRevert from '../../helpers/assertRevert';
 const PausableToken = artifacts.require('PausableTokenMock');
 
 contract('PausableToken', function ([_, owner, recipient, anotherAccount]) {

+ 1 - 1
test/token/StandardToken.test.js → test/token/ERC20/StandardToken.test.js

@@ -1,4 +1,4 @@
-import assertRevert from '../helpers/assertRevert';
+import assertRevert from '../../helpers/assertRevert';
 const StandardTokenMock = artifacts.require('StandardTokenMock');
 
 contract('StandardToken', function ([_, owner, recipient, anotherAccount]) {

+ 2 - 2
test/token/TokenTimelock.test.js → test/token/ERC20/TokenTimelock.test.js

@@ -1,5 +1,5 @@
-import latestTime from '../helpers/latestTime';
-import { increaseTimeTo, duration } from '../helpers/increaseTime';
+import latestTime from '../../helpers/latestTime';
+import { increaseTimeTo, duration } from '../../helpers/increaseTime';
 
 const BigNumber = web3.BigNumber;
 

+ 3 - 3
test/token/TokenVesting.test.js → test/token/ERC20/TokenVesting.test.js

@@ -1,6 +1,6 @@
-import EVMRevert from '../helpers/EVMRevert';
-import latestTime from '../helpers/latestTime';
-import { increaseTimeTo, duration } from '../helpers/increaseTime';
+import EVMRevert from '../../helpers/EVMRevert';
+import latestTime from '../../helpers/latestTime';
+import { increaseTimeTo, duration } from '../../helpers/increaseTime';
 
 const BigNumber = web3.BigNumber;