aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/test
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-11-20 05:05:36 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-11-29 08:38:10 +0800
commitb213cb39747ba0b78138d5a1db07b511bd9fd3b8 (patch)
tree92fbbc325795afeb4ccd0d5a8d96b27ba4a48fb6 /packages/utils/test
parent5b187935dc6bf194555e1652dbf53d1c637d4add (diff)
downloaddexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.gz
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.bz2
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.lz
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.xz
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.zst
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.zip
Temporary change for testing functions
Diffstat (limited to 'packages/utils/test')
-rw-r--r--packages/utils/test/abi_encoder_test.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/packages/utils/test/abi_encoder_test.ts b/packages/utils/test/abi_encoder_test.ts
index b541cd758..6d0d0c390 100644
--- a/packages/utils/test/abi_encoder_test.ts
+++ b/packages/utils/test/abi_encoder_test.ts
@@ -11,12 +11,7 @@ chaiSetup.configure();
const expect = chai.expect;
describe.only('ABI Encoder', () => {
- describe.only('Optimizer', () => {
-
- });
-
- describe('ABI Tests at Method Level', () => {
-
+ describe('Optimizer', () => {
it('Should reuse duplicated strings in string array', async () => {
const method = new AbiEncoder.Method(AbiSamples.GAbi);
@@ -147,7 +142,9 @@ describe.only('ABI Encoder', () => {
console.log(JSON.stringify(decodedArgs));
expect(decodedArgsJson).to.be.equal(argsJson);
});
+ });
+ describe.only('ABI Tests at Method Level', () => {
it('Crazy ABI', async () => {
const method = new AbiEncoder.Method(AbiSamples.crazyAbi);
console.log(method.getSignature());