jimdo-templateflow
Version:
jimdo template grunt workflow
19 lines (14 loc) • 517 B
JavaScript
'use-strict'
var config = require('../fixtures/config.js')
var task = require('../../tasks/connect.js')
describe('connect task', function () {
it('does return the port given in config', function () {
expect(task(config).options.port).toEqual(8080)
})
it('does return hostname given in config', function () {
expect(task(config).options.hostname).toEqual('localhost')
})
it('does return livereload given in config', function () {
expect(task(config).options.livereload).toEqual(1337)
})
})