closeheat
Version:
Static Website Hosting with CMS without touching your code.
21 lines (15 loc) • 409 B
text/coffeescript
path = require 'path'
fs = require 'fs'
module.exports =
class TestConfig
: ->
global.CONFIG_DIR =
: ->
path.join(process.cwd(), 'test', 'fixtures', 'home', '.closeheat')
: ->
path.join(process.cwd(), 'test', 'fixtures', 'website')
: ->
path.join(, 'config.json')
: ->
return unless fs.existsSync()
fs.unlinkSync()