From 14cde7229bf51fd997694a38ee16b564c5d17394 Mon Sep 17 00:00:00 2001 From: Jacqueline Zhang Date: Thu, 16 May 2024 15:07:26 +0800 Subject: [PATCH] test --- .../ipAsset/createIpAssetWithPilTerms.test.ts | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 test/ipAsset/createIpAssetWithPilTerms.test.ts diff --git a/test/ipAsset/createIpAssetWithPilTerms.test.ts b/test/ipAsset/createIpAssetWithPilTerms.test.ts deleted file mode 100644 index e283b36..0000000 --- a/test/ipAsset/createIpAssetWithPilTerms.test.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { nftContractAddress } from '../../config/config'; -import { createIpAssetWithPilTerms } from '../../utils/sdkUtils'; -import { expect } from 'chai' -import chai from 'chai'; -import chaiAsPromised from 'chai-as-promised'; -chai.use(chaiAsPromised); -import '../setup'; -import { PIL_TYPE } from "@story-protocol/core-sdk"; - -describe.skip('SDK Test', function () { - describe('Test ipAsset.createIpAssetWithPilTerms Function', async function () { - it("Register an IP asset with non-commercial remix license term", async function () { - const response = await expect( - createIpAssetWithPilTerms("A", nftContractAddress, PIL_TYPE.NON_COMMERCIAL_REMIX, true) - ).to.not.be.rejected; - }); - - it("Register an IP asset with commercial use license term", async function () { - const response = await expect( - createIpAssetWithPilTerms("A", nftContractAddress, PIL_TYPE.COMMERCIAL_USE, true) - ).to.not.be.rejected; - }); - - it("Register an IP asset with commercial remix license term", async function () { - const response = await expect( - createIpAssetWithPilTerms("A", nftContractAddress, PIL_TYPE.COMMERCIAL_REMIX, true) - ).to.not.be.rejected; - }); - }); -});