aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2019-02-05 20:56:04 +0800
committerFabio Berger <me@fabioberger.com>2019-02-05 20:56:04 +0800
commit7885b2e3f8094c957ca1c1e851c4bc368dda5bdf (patch)
tree1496d15d7d90f121e4dafe82c728b8be7f1cede8 /packages/order-utils/test
parent2447c72a5c360382bafb1df114310be2c853a170 (diff)
downloaddexon-0x-contracts-7885b2e3f8094c957ca1c1e851c4bc368dda5bdf.tar.gz
dexon-0x-contracts-7885b2e3f8094c957ca1c1e851c4bc368dda5bdf.tar.zst
dexon-0x-contracts-7885b2e3f8094c957ca1c1e851c4bc368dda5bdf.zip
Fix test
Diffstat (limited to 'packages/order-utils/test')
-rw-r--r--packages/order-utils/test/signature_utils_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/order-utils/test/signature_utils_test.ts b/packages/order-utils/test/signature_utils_test.ts
index eab6aa636..44aa729b3 100644
--- a/packages/order-utils/test/signature_utils_test.ts
+++ b/packages/order-utils/test/signature_utils_test.ts
@@ -100,15 +100,15 @@ describe('Signature utils', () => {
expect(isValidSignatureLocal).to.be.true();
});
- it.only('should return false if entry not found in `preSigned` mapping', async () => {
+ it('should return false if entry not found in `preSigned` mapping', async () => {
const preSignedSignature = '0x06';
- const isValidSignatureLocal = await signatureUtils.isValidSignatureAsync(
+ const isValidPreSignature = await signatureUtils.isValidSignatureAsync(
provider,
dataHex,
preSignedSignature,
address,
);
- expect(isValidSignatureLocal).to.be.true();
+ expect(isValidPreSignature).to.be.false();
});
});
describe('#isValidECSignature', () => {