Skip to content

Commit

Permalink
Integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deniszagumennov committed Oct 4, 2024
1 parent 348e983 commit f9dc653
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions integration_tests/src/testcases/core.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ describe('Core', () => {
codeIds: {
core?: number;
token?: number;
withdrawalToken?: number;
withdrawalVoucher?: number;
withdrawalManager?: number;
redemptionRateAdapter?: number;
Expand Down Expand Up @@ -291,6 +292,17 @@ describe('Core', () => {
expect(res.codeId).toBeGreaterThan(0);
context.codeIds.token = res.codeId;
}
{
const res = await client.upload(
account.address,

Check failure on line 297 in integration_tests/src/testcases/core.test.ts

View workflow job for this annotation

GitHub Actions / Actions - integration tests lint

Delete `··`
fs.readFileSync(

Check failure on line 298 in integration_tests/src/testcases/core.test.ts

View workflow job for this annotation

GitHub Actions / Actions - integration tests lint

Delete `··`
join(__dirname, '../../../artifacts/drop_withdrawal_token.wasm'),

Check failure on line 299 in integration_tests/src/testcases/core.test.ts

View workflow job for this annotation

GitHub Actions / Actions - integration tests lint

Delete `····`
),

Check failure on line 300 in integration_tests/src/testcases/core.test.ts

View workflow job for this annotation

GitHub Actions / Actions - integration tests lint

Delete `··`
1.5,

Check failure on line 301 in integration_tests/src/testcases/core.test.ts

View workflow job for this annotation

GitHub Actions / Actions - integration tests lint

Delete `··`
);
expect(res.codeId).toBeGreaterThan(0);
context.codeIds.withdrawalToken = res.codeId;
}
{
const res = await client.upload(
account.address,
Expand Down Expand Up @@ -428,6 +440,7 @@ describe('Core', () => {
code_ids: {
core_code_id: context.codeIds.core,
token_code_id: context.codeIds.token,
withdrawal_token_code_id: context.codeIds.withdrawalToken,
withdrawal_voucher_code_id: context.codeIds.withdrawalVoucher,
withdrawal_manager_code_id: context.codeIds.withdrawalManager,
strategy_code_id: context.codeIds.strategy,
Expand Down

0 comments on commit f9dc653

Please sign in to comment.