diff --git a/src/test/js/index.js b/src/test/js/index.js new file mode 100644 index 0000000..65f2938 --- /dev/null +++ b/src/test/js/index.js @@ -0,0 +1,11 @@ +const { + createTransmitter, + createHttpPipe +} = require('../../../target/es5') + +describe('index.js (target)', () => { + it('has proper export', () => { + expect(createTransmitter).toEqual(expect.any(Function)) + expect(createHttpPipe).toEqual(expect.any(Function)) + }) +}) diff --git a/src/test/ts/index.ts b/src/test/ts/index.ts index 4c806f4..2eeba7b 100644 --- a/src/test/ts/index.ts +++ b/src/test/ts/index.ts @@ -4,7 +4,7 @@ import { } from '../../main/ts' describe('index', () => { - it('has propes export', () => { + it('has proper export', () => { expect(createTransmitter).toEqual(expect.any(Function)) expect(createHttpPipe).toEqual(expect.any(Function)) })