chore(tests): move filter and lp tests to subdir (#1800)

This commit is contained in:
Danish Arora 2024-01-18 01:28:28 +05:30 committed by GitHub
parent 2e6d9836bf
commit d3bd7f8f7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 14 additions and 21 deletions

View File

@ -20,9 +20,8 @@ import {
MessageCollector,
ServiceNode,
tearDownNodes
} from "../../src/index.js";
import { runNodes } from "./utils.js";
} from "../../../src/index.js";
import { runNodes } from "../utils.js";
describe("Waku Filter V2: Multiple PubsubTopics", function () {
// Set the timeout for all tests in this suite. Can be overwritten at test level

View File

@ -7,15 +7,14 @@ import {
MessageCollector,
ServiceNode,
tearDownNodes
} from "../../src/index.js";
} from "../../../src/index.js";
import {
runNodes,
TestContentTopic,
TestDecoder,
TestEncoder,
validatePingError
} from "./utils.js";
} from "../utils.js";
describe("Waku Filter V2: Ping", function () {
// Set the timeout for all tests in this suite. Can be overwritten at test level

View File

@ -12,15 +12,14 @@ import {
tearDownNodes,
TEST_STRING,
TEST_TIMESTAMPS
} from "../../src/index.js";
} from "../../../src/index.js";
import {
messageText,
runNodes,
TestContentTopic,
TestDecoder,
TestEncoder
} from "./utils.js";
} from "../utils.js";
describe("Waku Filter V2: FilterPush", function () {
// Set the timeout for all tests in this suite. Can be overwritten at test level

View File

@ -20,8 +20,7 @@ import {
ServiceNode,
tearDownNodes,
TEST_STRING
} from "../../src/index.js";
} from "../../../src/index.js";
import {
messagePayload,
messageText,
@ -29,7 +28,7 @@ import {
TestContentTopic,
TestDecoder,
TestEncoder
} from "./utils.js";
} from "../utils.js";
describe("Waku Filter V2: Subscribe", function () {
// Set the timeout for all tests in this suite. Can be overwritten at test level

View File

@ -9,8 +9,7 @@ import {
MessageCollector,
ServiceNode,
tearDownNodes
} from "../../src/index.js";
} from "../../../src/index.js";
import {
messagePayload,
messageText,
@ -18,7 +17,7 @@ import {
TestContentTopic,
TestDecoder,
TestEncoder
} from "./utils.js";
} from "../utils.js";
describe("Waku Filter V2: Unsubscribe", function () {
// Set the timeout for all tests in this suite. Can be overwritten at test level

View File

@ -14,15 +14,14 @@ import {
ServiceNode,
tearDownNodes,
TEST_STRING
} from "../../src/index.js";
} from "../../../src/index.js";
import {
messagePayload,
messageText,
runNodes,
TestContentTopic,
TestEncoder
} from "./utils.js";
} from "../utils.js";
describe("Waku Light Push", function () {
// Set the timeout for all tests in this suite. Can be overwritten at test level

View File

@ -20,9 +20,8 @@ import {
MessageCollector,
ServiceNode,
tearDownNodes
} from "../../src/index.js";
import { messageText, runNodes } from "./utils.js";
} from "../../../src/index.js";
import { messageText, runNodes } from "../utils.js";
describe("Waku Light Push : Multiple PubsubTopics", function () {
this.timeout(30000);