From 89d0888f2abd22852e5e1e19f1932c0f819c8f9e Mon Sep 17 00:00:00 2001 From: aman035 <guptaaman200115@gmail.com> Date: Thu, 4 Jul 2024 18:42:22 +0530 Subject: [PATCH] fix: fix test changes --- packages/dnode/package.json | 2 +- packages/dnode/src/lib/pushValidator/pushValidator.ts | 1 - packages/dnode/tests/lib/notification/channel.test.ts | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/dnode/package.json b/packages/dnode/package.json index d7102ca56..947b8a6a8 100644 --- a/packages/dnode/package.json +++ b/packages/dnode/package.json @@ -1,6 +1,6 @@ { "name": "@pushprotocol/dnode", - "version": "0.0.1", + "version": "0.0.2", "type": "commonjs", "publishConfig": { "registry": "https://registry.npmjs.org/" diff --git a/packages/dnode/src/lib/pushValidator/pushValidator.ts b/packages/dnode/src/lib/pushValidator/pushValidator.ts index 4f517aa96..4bdff4f11 100644 --- a/packages/dnode/src/lib/pushValidator/pushValidator.ts +++ b/packages/dnode/src/lib/pushValidator/pushValidator.ts @@ -1,4 +1,3 @@ -import axios from 'axios'; import { getRandomElement } from '../helpers'; import { ActiveValidator, diff --git a/packages/dnode/tests/lib/notification/channel.test.ts b/packages/dnode/tests/lib/notification/channel.test.ts index 4316f8028..f686f375d 100644 --- a/packages/dnode/tests/lib/notification/channel.test.ts +++ b/packages/dnode/tests/lib/notification/channel.test.ts @@ -88,7 +88,6 @@ describe('PushAPI.channel functionality', () => { raw: false, } ); - console.log(res.channel_settings); expect(res).not.null; }); }); @@ -204,7 +203,7 @@ describe('PushAPI.channel functionality', () => { }); }); - describe.only('channel :: send', () => { + describe('channel :: send', () => { it('With signer : broadcast : Should send notification with title and body', async () => { const res = await userAlice.channel.send(['*'], { notification: {