message: Make serialization tests stricter
diff: @@ -125,8 +125,7 @@ describe("Secp256k1Wallet", () => {
  it("can save with password", async () => {
  const wallet = await Secp256k1Wallet.fromMnemonic(defaultMnemonic);
  const serialized = await wallet.serialize("123");
  - expect(JSON.parse(serialized)).toEqual(
  - jasmine.objectContaining({
  + expect(JSON.parse(serialized)).toEqual({
  type: "secp256k1wallet-v1",
  kdf: {
  algorithm: "argon2id",
  @@ -143,8 +142,7 @@ describe("Secp256k1Wallet", () => {
  },
  },
  data: jasmine.stringMatching(base64Matcher),
  - }),
  - );
  + });
  });
  });
  @@ -162,8 +160,7 @@ describe("Secp256k1Wallet", () => {
  },
  };
  const serialized = await wallet.serializeWithEncryptionKey(key, customKdfConfiguration);
  - expect(JSON.parse(serialized)).toEqual(
  - jasmine.objectContaining({
  + expect(JSON.parse(serialized)).toEqual({
  type: "secp256k1wallet-v1",
  kdf: customKdfConfiguration,
  encryption: {
  @@ -173,8 +170,7 @@ describe("Secp256k1Wallet", () => {
  },
  },
  data: jasmine.stringMatching(base64Matcher),
  - }),
  - );
  + });
  });
  });
  });
  