Skip to content

Commit

Permalink
Repair tests to actually run the assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tow8ie committed Mar 24, 2016
1 parent 5cf852b commit fab7e5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import path from 'path'
import { spawn } from 'child_process'
import assert from 'assert'
import isHTML from 'is-html'
import isHtml from 'is-html'
import cheerio from 'cheerio'

describe('static-react', () => {
Expand All @@ -18,7 +18,7 @@ describe('static-react', () => {
})
})

it('should return html', () => {
it('should return html', (done) => {
const process = spawn(cli, ['test/Root.js'])

process.stdout.on('data', data => {
Expand All @@ -28,11 +28,11 @@ describe('static-react', () => {
})
})

it('should render props', () => {
it('should render props', (done) => {
const process = spawn(cli, [
'test/Root.js',
'-p',
'fixture-props.js'
'test/fixture-props.js'
])

process.stdout.on('data', data => {
Expand Down

0 comments on commit fab7e5c

Please sign in to comment.