fix(core): update
This commit is contained in:
12
test/test.ts
12
test/test.ts
@ -1,12 +1,12 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import { expect, tap } from '@push.rocks/tapbundle';
|
||||
|
||||
import * as smartgulp from '../ts/index.js';
|
||||
import * as smartstream from '@pushrocks/smartstream';
|
||||
import * as smartstream from '@push.rocks/smartstream';
|
||||
import * as gulpFunction from 'gulp-function';
|
||||
import * as smartq from 'smartq';
|
||||
import * as smartpromise from '@push.rocks/smartpromise';
|
||||
|
||||
tap.test('smartgulp.src -> should read a directoy', async (tools) => {
|
||||
let done = smartq.defer();
|
||||
let done = smartpromise.defer();
|
||||
smartgulp
|
||||
.src(['./test/testfiles/**/*.md'])
|
||||
.pipe(
|
||||
@ -23,7 +23,7 @@ tap.test('smartgulp.src -> should read a directoy', async (tools) => {
|
||||
});
|
||||
|
||||
tap.test('smartgulp shoould replace files', async () => {
|
||||
let done = smartq.defer();
|
||||
let done = smartpromise.defer();
|
||||
smartgulp
|
||||
.src(['./test/testfiles/**/*.md'])
|
||||
.pipe(
|
||||
@ -40,4 +40,4 @@ tap.test('smartgulp shoould replace files', async () => {
|
||||
await done.promise;
|
||||
});
|
||||
|
||||
tap.start();
|
||||
await tap.start();
|
||||
|
Reference in New Issue
Block a user