 boot: src/app/app
 """
 
-pack = '{"name": "basic"}'
+basic_pack = '{"name": "basic"}'
+
+
+# npm mock
+
 
 
 describe '[polvo]', ->
 
   before ->
-    fs.unlinkSync files.config if fs.existsSync files.config
-    fs.unlinkSync files.pack if fs.existsSync files.pack
-    fs.unlinkSync files.js if fs.existsSync files.js
-    fs.unlinkSync files.css if fs.existsSync files.css
-
-    fs.writeFileSync files.config, config
+    fs.unlinkSync basic_files.basic_config if fs.existsSync basic_files.basic_config
+    fs.unlinkSync basic_files.basic_pack if fs.existsSync basic_files.basic_pack
+    fs.unlinkSync basic_files.js if fs.existsSync basic_files.js
+    fs.unlinkSync basic_files.css if fs.existsSync basic_files.css
+
+    fs.writeFileSync basic_files.basic_config, basic_config
 
   afterEach ->
     mods = [


polvo = require '../../lib/polvo'


base = path.join __dirname, '..', 'mocks', 'basic'
files = 
  pack: path.join base, 'package.json'
  app: path.join base, 'src', 'app', 'app.coffee'
  config: path.join base, 'polvo.yml'
  js: path.join base, 'public', 'app.js'
  css: path.join base, 'public', 'app.css'

config = """
server:
  port: 8080
  root: ./public

    errors = outs = 0
    checker = /✓ public\/app\.(js|css).+$/m

    options = compile: true, base: basic
    stdio = 
      nocolor: true
      err:(msg) -> errors++
