Merge branch 'master' of github.com:coolaj86/node-dom-storage
This commit is contained in:
		
						commit
						c617241c52
					
				@ -1,4 +1,4 @@
 | 
			
		||||
DOMStorage
 | 
			
		||||
sessionStorage & localStorage for NodeJS
 | 
			
		||||
===
 | 
			
		||||
 | 
			
		||||
An inefficient, but as W3C-compliant as possible using only pure JavaScript, `DOMStorage` implementation.
 | 
			
		||||
 | 
			
		||||
@ -9,6 +9,9 @@
 | 
			
		||||
    ;
 | 
			
		||||
 | 
			
		||||
  function runTest(storage) {
 | 
			
		||||
    // should not return prototype properties
 | 
			
		||||
    assert.strictEqual(null, Object.getItem('key'));
 | 
			
		||||
    
 | 
			
		||||
    assert.strictEqual(0, Object.keys(storage).length);
 | 
			
		||||
    assert.strictEqual(0, storage.length);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user