From 3f7f0e8df8026fd11c39543156c6027e5c59d696 Mon Sep 17 00:00:00 2001 From: ppe Date: Fri, 23 Dec 2022 17:44:44 +0100 Subject: [PATCH] v1.2.37 --- package.json | 2 +- src/__tests__/integration/basic/unsafe-contract.test.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ed0ed55f..ce801a89 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "warp-contracts", - "version": "1.2.36", + "version": "1.2.37", "description": "An implementation of the SmartWeave smart contract protocol.", "types": "./lib/types/index.d.ts", "main": "./lib/cjs/index.js", diff --git a/src/__tests__/integration/basic/unsafe-contract.test.ts b/src/__tests__/integration/basic/unsafe-contract.test.ts index 390f29ed..bb445e23 100644 --- a/src/__tests__/integration/basic/unsafe-contract.test.ts +++ b/src/__tests__/integration/basic/unsafe-contract.test.ts @@ -80,9 +80,7 @@ describe('Testing the Warp client', () => { }); it('should not allow to evaluate contract with unsafe operations by default', async () => { - await expect(contract.readState()).rejects.toThrowError( - '[SkipUnsafeError]' - ); + await expect(contract.readState()).rejects.toThrowError('[SkipUnsafeError]'); }); it('should allow to evaluate contract with unsafe operations when evaluation option is set.', async () => {