Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Error Message Strings #1102

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions token-metadata/js/test/update.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ test('Update: Delegate Authority Role Not Allowed to Update Data', async (t) =>
daManager.masterEdition,
);
updateTx.then((x) =>
x.assertLogs(t, [/Authority cannot apply all update args/i], {
x.assertLogs(t, [/custom program error: 0xb7/i], {
txLabel: 'tx: Update',
}),
);
Expand Down Expand Up @@ -1351,7 +1351,7 @@ test('Update: Holder Authority Type Not Supported', async (t) => {
);

updateTx.then((x) =>
x.assertLogs(t, [/Auth type: Holder/i, /Feature not supported currently/i], {
x.assertLogs(t, [/Auth type: Holder/i, /custom program error: 0x91/i], {
txLabel: 'tx: Update',
}),
);
Expand Down