process-fingerprint
Advanced tools
Comparing version 0.0.1 to 0.1.1
{ | ||
"name": "process-fingerprint", | ||
"version": "0.0.1", | ||
"version": "0.1.1", | ||
"description": "Create a fingerprint value that is exposed to your user environment", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,3 @@ # process-fingerprint | ||
## Installation | ||
```js | ||
``` | ||
$ npm install --save process-fingerprint | ||
@@ -11,0 +11,0 @@ ``` |
@@ -16,2 +16,9 @@ 'use strict'; | ||
it('should return the fingerprint if already set on `process.env`', function(done){ | ||
process.env[key] = 'ABC123'; | ||
var fp = fingerprint(); | ||
assert.equal(fp, 'ABC123'); | ||
done(); | ||
}); | ||
it('should return a fingerprint value', function(done){ | ||
@@ -32,3 +39,3 @@ assert(fingerprint()); | ||
after(function(){ | ||
afterEach(function(){ | ||
delete process.env[key]; | ||
@@ -35,0 +42,0 @@ }); |
5364
44
3