Skip to content

Commit c6b0168

Browse files
committed
test(node-runtime-worker-thread): All together now
1 parent 45f26dc commit c6b0168

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

packages/node-runtime-worker-thread/src/child-process-proxy.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const childProcessModulePath = path.resolve(
1010
'child-process-proxy.js'
1111
);
1212

13-
describe.skip('child process worker proxy', () => {
13+
describe('child process worker proxy', () => {
1414
it('should start worker runtime and proxy calls', async() => {
1515
const childProcess = fork(childProcessModulePath);
1616
const caller = createCaller(['init', 'evaluate'], childProcess);

packages/node-runtime-worker-thread/src/index.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import chai, { expect } from 'chai';
22
import sinon from 'sinon';
33
import sinonChai from 'sinon-chai';
4-
import chaiAsPromised from 'chai-as-promised';
54
import { startTestServer } from '../../../testing/integration-testing-hooks';
65
import { WorkerRuntime } from '../dist/index';
76

87
chai.use(sinonChai);
9-
chai.use(chaiAsPromised);
108

11-
describe.skip('WorkerRuntime', () => {
9+
describe('WorkerRuntime', () => {
1210
describe('evaluate', () => {
1311
it('should evaluate and return basic values', async() => {
1412
const runtime = new WorkerRuntime('mongodb://nodb/', {}, { nodb: true });

packages/node-runtime-worker-thread/src/rpc.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function createMockRpcMesageBus() {
1212
return bus;
1313
}
1414

15-
describe.skip('rpc', () => {
15+
describe('rpc', () => {
1616
it('exposes functions and allows to call them', async() => {
1717
const rpcProcess = createMockRpcMesageBus();
1818
const caller = createCaller(['meow'], rpcProcess);
@@ -30,7 +30,7 @@ describe.skip('rpc', () => {
3030
});
3131
});
3232

33-
describe.skip('createCaller', () => {
33+
describe('createCaller', () => {
3434
it('creates a caller with provided method names', () => {
3535
const rpcProcess = createMockRpcMesageBus();
3636
const caller = createCaller(['meow', 'woof'], rpcProcess);
@@ -53,7 +53,7 @@ describe.skip('createCaller', () => {
5353
});
5454
});
5555

56-
describe.skip('exposeAll', () => {
56+
describe('exposeAll', () => {
5757
it('exposes passed methods on provided process', (done) => {
5858
const rpcProcess = createMockRpcMesageBus();
5959

packages/node-runtime-worker-thread/src/worker-runtime.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const workerThreadModule = fs.readFile(
1919
'utf8'
2020
);
2121

22-
describe.skip('worker', () => {
22+
describe('worker', () => {
2323
let worker: Worker;
2424

2525
beforeEach(async() => {

0 commit comments

Comments
 (0)