diff --git a/tests/xnft.spec.ts b/tests/xnft.spec.ts index 40f98e6..2c3ba33 100644 --- a/tests/xnft.spec.ts +++ b/tests/xnft.spec.ts @@ -131,7 +131,10 @@ describe("A standard xNFT", () => { try { await client.verify(xnft); assert.ok(false); - } catch (_err) {} + } catch (err) { + const e = err as anchor.AnchorError; + assert.strictEqual(e.error.errorCode.code, "CuratorMismatch"); + } }); it("if the curator authority signs the transaction", async () => {