Skip to content

How do you run the tests? #4

@arnorhs

Description

@arnorhs

I have no idea, and maybe I'm a node-n00b, but the only thing i could think of trying was:

node test/file_spec.js

Which resulted in a module missing .. something called minitest which was not listed as a dependency and I can't see it in the source folders:

$ node tests/file_spec.js 

module.js:340
    throw err;
          ^
Error: Cannot find module '../vendor/minitest.js/minitest'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/home/arnorhs/projects/node-file-utils/tests/file_spec.js:3:16)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions