Skip to content

Commit

Permalink
build: Updating test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
robdmoore committed Mar 23, 2023
1 parent 3fe5224 commit d190f6a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/__snapshots__/deploy-app.spec.ts.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`deploy-app Deploy failure for replacement of permanent, updated app 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
INFO: Detected a TEAL update in app APP_1 for creator ACCOUNT_1
WARN: App is not deletable and onUpdate=ReplaceApp, will attempt to create new app and delete old app, delete will most likely fail
Expand All @@ -10,26 +10,26 @@ WARN: Deleting existing test app with id APP_1 from ACCOUNT_1 account."
`;

exports[`deploy-app Deploy failure for replacement of schema broken app fails if onSchemaBreak = Fail 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
WARN: Detected a breaking app schema change in app APP_1: | [{"from":{"global":{"num-byte-slice":0,"num-uint":1},"local":{"num-byte-slice":0,"num-uint":0}},"to":{"global":{"num-byte-slice":1,"num-uint":1},"local":{"num-byte-slice":0,"num-uint":0}}}]"
`;

exports[`deploy-app Deploy failure for updated app fails if onupdate = Fail 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
INFO: Detected a TEAL update in app APP_1 for creator ACCOUNT_1"
`;

exports[`deploy-app Deploy new app 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: App test not found in apps created by ACCOUNT_1; deploying app with version 1.0.
INFO: Sent transaction ID TXID_1 appl from ACCOUNT_1
DEBUG: Created app APP_1 from creator ACCOUNT_1"
`;

exports[`deploy-app Deploy replacement of deletable schema broken app 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
WARN: Detected a breaking app schema change in app APP_1: | [{"from":{"global":{"num-byte-slice":0,"num-uint":1},"local":{"num-byte-slice":0,"num-uint":0}},"to":{"global":{"num-byte-slice":1,"num-uint":1},"local":{"num-byte-slice":0,"num-uint":0}}}]
INFO: App is deletable and onSchemaBreak=ReplaceApp, will attempt to create new app and delete old app
Expand All @@ -39,7 +39,7 @@ WARN: Sent transactions TXID_2 to create app with id APP_2 and TXID_3 to delete
`;

exports[`deploy-app Deploy replacement to deletable, updated app 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
INFO: Detected a TEAL update in app APP_1 for creator ACCOUNT_1
WARN: App is deletable and onUpdate=ReplaceApp, creating new app and deleting old app...
Expand All @@ -49,7 +49,7 @@ WARN: Sent transactions TXID_2 to create app with id APP_2 and TXID_3 to delete
`;

exports[`deploy-app Deploy replacement to schema broken, permanent app fails 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
WARN: Detected a breaking app schema change in app APP_1: | [{"from":{"global":{"num-byte-slice":0,"num-uint":1},"local":{"num-byte-slice":0,"num-uint":0}},"to":{"global":{"num-byte-slice":1,"num-uint":1},"local":{"num-byte-slice":0,"num-uint":0}}}]
INFO: App is not deletable but onSchemaBreak=ReplaceApp, will attempt to delete app, delete will most likely fail
Expand All @@ -58,7 +58,7 @@ WARN: Deleting existing test app with id APP_1 from ACCOUNT_1 account."
`;

exports[`deploy-app Deploy update to immutable updated app fails 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
INFO: Detected a TEAL update in app APP_1 for creator ACCOUNT_1
WARN: App is not updatable but onUpdate=UpdateApp, will attempt to update app, update will most likely fail
Expand All @@ -67,7 +67,7 @@ DEBUG: Updating app APP_1"
`;

exports[`deploy-app Deploy update to updatable updated app 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
INFO: Detected a TEAL update in app APP_1 for creator ACCOUNT_1
INFO: App is updatable and onUpdate=UpdateApp, updating app...
Expand All @@ -77,7 +77,7 @@ INFO: Sent transaction ID TXID_2 appl from ACCOUNT_1"
`;

exports[`deploy-app Do nothing if deploying app with no changes 1`] = `
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 1532 bytes of teal code and 39 bytes of teal code
"INFO: Idempotently deploying app "test" from creator ACCOUNT_1 using 2203 bytes of teal code and 39 bytes of teal code
INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and version 1.0.
DEBUG: No detected changes in app, nothing to do."
`;

0 comments on commit d190f6a

Please sign in to comment.