mirror of
https://github.com/status-im/js-waku.git
synced 2025-02-23 18:38:11 +00:00
This commit creates the class for an SDS message channel, including buffers for outgoing and incoming messages. Adds logic for sending messages, receiving messages, delivering messages, and reviewing acknowledgement status of messages. Also adds byte serialization for bloom filters.
28 lines
674 B
JavaScript
28 lines
674 B
JavaScript
const config = {
|
|
extension: ['ts'],
|
|
spec: 'src/**/*.spec.ts',
|
|
require: ['ts-node/register', 'isomorphic-fetch'],
|
|
loader: 'ts-node/esm',
|
|
'node-option': [
|
|
'experimental-specifier-resolution=node',
|
|
'loader=ts-node/esm'
|
|
],
|
|
exit: true,
|
|
retries: 2
|
|
};
|
|
|
|
if (process.env.CI) {
|
|
console.log("Running tests in parallel");
|
|
config.parallel = true;
|
|
config.jobs = 6;
|
|
console.log("Activating allure reporting");
|
|
config.reporter = 'mocha-multi-reporters';
|
|
config.reporterOptions = {
|
|
configFile: '.mocha.reporters.json'
|
|
};
|
|
} else {
|
|
console.log("Running tests serially. To enable parallel execution update mocha config");
|
|
}
|
|
|
|
module.exports = config;
|