UKHomeOfficeForms / hof-template-partials

DEPRECATED, this is built into hof v19 (ノ◕ヮ◕)ノ*:・゚✧
0 stars 3 forks source link

This project needs unit tests #3

Open JoeChapman opened 8 years ago

JoeChapman commented 8 years ago

This project needs unit tests. I have been trying to use it but this following error is thrown:

TypeError: path must be a string
      at TypeError (native)
      at Object.fs.readdirSync (evalmachine.<anonymous>:808:18)
      at list (node_modules/fs-tree-traverse/lib/list-sync.js:15:24)
      at Object.module.exports [as listSync] (node_modules/fs-tree-traverse/lib/list-sync.js:33:20)
      at module.exports (node_modules/express-partial-templates/lib/traverse.js:16:20)
      at Parser (node_modules/express-partial-templates/index.js:11:20)
      at module.exports.app.use.app.use.app.use (lib/settings.js:9:2331)
      at module.exports.bootstrap.use.config.routes.forEach.app.get.app.get (index.js:9:3894)
      at Context.<anonymous> (test/integration/index.js:200:7)
joefitter commented 8 years ago

express partial templates needs bumping

joefitter commented 8 years ago

there is no JS to test :(