☕️ Classic, reliable, trusted test framework for Node.js and the browser
refactored example
TJ Holowaychukf50f98ac0be2
diff --git a/test/browser/array.js b/test/browser/array.jsindex 306b2519..e7eefebd 100644--- a/test/browser/array.js+++ b/test/browser/array.js@@ -19,17 +19,13 @@ describe('Array', function(){describe('#pop()', function(){it('should remove and return the last value', function(){var arr = [1,2,3];- assert(arr.pop() == 5);+ assert(arr.pop() == 3);})- })-})-describe('Array', function(){- describe('#pop()', function(){it('should adjust .length', function(){var arr = [1,2,3];arr.pop();assert(arr.length == 2);})})-})\ No newline at end of file+})