Skip to content

Commit

Permalink
Use fetch from effection in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
minkimcello committed Jan 24, 2022
1 parent 3798b31 commit adc13d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/process/test/daemon.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { describe, it, beforeEach, afterEach } from '@effection/mocha';
import expect from 'expect';
import fetch from 'node-fetch';

import { run, Task, createFuture } from 'effection';
import { run, Task, createFuture, fetch } from 'effection';

import { daemon, Process } from '../src';

Expand Down
3 changes: 1 addition & 2 deletions packages/process/test/exec.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { Task, spawn } from 'effection';
import { Task, spawn, fetch } from 'effection';
import { describe, it, beforeEach, captureError } from '@effection/mocha';
import expect from 'expect';

import { exec, Process, ProcessResult } from '../src';
import fetch from 'node-fetch';

describe('exec', () => {
describe('.join', () => {
Expand Down

0 comments on commit adc13d1

Please sign in to comment.