Skip to content

Commit

Permalink
fix: configure localforger with lima protocol hash with lima cases
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-an-yang committed Nov 25, 2022
1 parent 26ae7d8 commit bff6e29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ describe('Forge and parse operations default protocol', () => {
});

describe('Forge and parse operations lima protocol', () => {
const localForger = new LocalForger();
const localForger = new LocalForger(ProtocolsHash.PtLimaPtL);
limaCases.forEach(({ name, operation, expected }) => {
test(`Common test: ${name}`, async (done) => {
test(`Lima test: ${name}`, async (done) => {
const result = await localForger.forge(operation);
expect(await localForger.parse(result)).toEqual(expected || operation);
done();
Expand Down

0 comments on commit bff6e29

Please sign in to comment.