Skip to content

Commit

Permalink
test: resolve cairo1v2 test file parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
penovicp committed Mar 11, 2024
1 parent 67d71dc commit a559bce
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions __tests__/cairo1v2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1048,15 +1048,6 @@ describe('Cairo 1', () => {
});
});

describe('Cairo2.6.0 Sierra1.5.0', () => {
test('declare Sierra 1.5.0', async () => {
const declare260Response = await account.declare({
contract: compiledC260,
casm: compiledC260Casm,
});
expect(declare260Response.class_hash).toBe(
'0x6184f1a71cad4bd123ff8bb3b97dc9ec876ced6489d9479cfdaada81a2f06d6'
);
describe('cairo v2.5.3 complex tuples', () => {
let tupleContract: Contract;
let myCallData: CallData;
Expand Down Expand Up @@ -1175,4 +1166,16 @@ describe('Cairo 1', () => {
});
});
});

describe('Cairo2.6.0 Sierra1.5.0', () => {
test('declare Sierra 1.5.0', async () => {
const declare260Response = await account.declare({
contract: compiledC260,
casm: compiledC260Casm,
});
expect(declare260Response.class_hash).toBe(
'0x6184f1a71cad4bd123ff8bb3b97dc9ec876ced6489d9479cfdaada81a2f06d6'
);
});
});
});

0 comments on commit a559bce

Please sign in to comment.