Skip to content

Commit

Permalink
fix paths for generate test
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Mar 6, 2025
1 parent 853e7e1 commit f2e4f62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function pretest(): void {

// We generate this file without the workaroundForMultipleIDLPathsProblem so that we can do an exact comparison with the azle/canisters/management/idl/index.ts file
execSync(
`npm exec --offline azle generate-types ../../../../../../src/stable/canisters/management/idl/ic.did > src/idl/management_no_workaround.ts`,
`npm exec --offline azle generate-types ../../../../../../src/stable/lib/canisters/management/idl/ic.did > src/idl/management_no_workaround.ts`,
{
stdio: 'inherit'
}
Expand All @@ -35,7 +35,7 @@ function pretest(): void {
);

execSync(
`npm exec --offline azle generate-types ../../../../../../src/stable/canisters/management/idl/ic.did > src/idl/management.ts`,
`npm exec --offline azle generate-types ../../../../../../src/stable/lib/canisters/management/idl/ic.did > src/idl/management.ts`,
{
stdio: 'inherit'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runTests(() => {
);

const referenceContent = readFileSync(
'../../../../../../src/stable/canisters/management/idl/index.ts',
'../../../../../../src/stable/lib/canisters/management/idl/index.ts',
'utf-8'
);

Expand Down

0 comments on commit f2e4f62

Please sign in to comment.