Skip to content

Commit

Permalink
test: add some tests for es5 target
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 2, 2020
1 parent 1691077 commit 096ae5c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/test/js/index.js
Original file line number Diff line number Diff line change
@@ -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))
})
})
2 changes: 1 addition & 1 deletion src/test/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
})
Expand Down

0 comments on commit 096ae5c

Please sign in to comment.