Commit 08840130 authored by rasguy92's avatar rasguy92

test: improve test coverage for aliasing

parent dfd22e63
...@@ -18,7 +18,7 @@ describe('address aliasing utils', () => { ...@@ -18,7 +18,7 @@ describe('address aliasing utils', () => {
it('should throw if the input is not a valid address', () => { it('should throw if the input is not a valid address', () => {
expect(() => { expect(() => {
applyL1ToL2Alias('0x1234') applyL1ToL2Alias('0x1234')
}).to.throw }).to.throw('not a valid address: 0x1234')
}) })
}) })
...@@ -38,7 +38,7 @@ describe('address aliasing utils', () => { ...@@ -38,7 +38,7 @@ describe('address aliasing utils', () => {
it('should throw if the input is not a valid address', () => { it('should throw if the input is not a valid address', () => {
expect(() => { expect(() => {
undoL1ToL2Alias('0x1234') undoL1ToL2Alias('0x1234')
}).to.throw }).to.throw('not a valid address: 0x1234')
}) })
}) })
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment