veyron-browser: Unit tests for browseNamespace module.

browseNamespace tests ensure proper state values are set dependeing
on results of calls to glob() and signature() on the browse service.

Using github:thlorenz/proxyquire to mock nested dependencies.
browseNamespace module depends on browse-service module
which does Veyron calls. browse-service is mocked so we only test
logic of browseNamespace module.

Also renamed browseNamespace.js to browse-namespace.js to be consistent

The require paths are a bit long but I haven't found a way around it
I couldn't find support for something like base-path and can't
break them into variables either since Browserify does static analysis of
require() calls and expects constants or it won't work.

Change-Id: I5d99c831a875159d16cad35ae1f99f0b887a0777
6 files changed
tree: 4ea0a00b46d1253db901a9b0f4b942c44036ddaa
  1. public/
  2. src/
  3. test/
  4. .gitignore
  5. .jshintrc
  6. bower.json
  7. Makefile
  8. package.json
  9. README.md
  10. services.sh
  11. web-component-dependencies.html
README.md

Mounttable Browser

Mountable browser is a browser application that lets the user view and traverse mounttables.

Building

Before you can run Mounttable Browser, you need to build. Simply run:

make

Running

make start

and navigate to http://localhost:9000

to stop simply CTRL-C the console running the make start