Here be dragons...
npm install
FI_API__STORAGE_ACCOUNT=figeodata
FI_API__STORAGE_SECRET
The keys are stored here: FI-meta (private)
Before running the test, the NODE_PATH must be set to '.'. Setting them after starting the node process, i.e. Grunt, doesn't work :(
NODE_PATH=. grunt test
or
npm test
For continous testing do
NODE_PATH=. grunt test watch
There is also grunt test:integration
which runs the integration tests. These tests require valid API keys to work
though.