spec.core.js
This file
Path
spec/spec.core.js
30 lines · 615 bytes · JavaScript
Last changed by
Added set(), enable(), and disable()visionmediabefore adoption2025ce5
History of this fileTake it
The walk stopped after 200 commits: lines older than c4dc385 point at it.
Starting freshvisionmediabefore adoption2603bb4
line 1why, one step back1Previous `jspec init --freeze` call wrote over spec.core.jsvisionmediabefore adoptioncc56c63
lines 2–4why, one step back2describe 'Express'3 describe '.version'4 it 'should be properly formatted'Starting freshvisionmediabefore adoption2603bb4
line 5why, one step back5 Express.version.should.match(/^\d+\.\d+\.\d+$/)Exporting use()visionmediabefore adoptionc4dc385
lines 6–7why, one step back6 end7 endAdded set(), enable(), and disable()visionmediabefore adoption2025ce5
lines 8–29why, one step back8 9 describe 'set()'10 it 'should set an option'11 set('raise exceptions').should.be_null12 set('raise exceptions', true)13 set('raise exceptions').should.be_true14 end15 end16 17 describe 'enable()'18 it 'should enable an option'19 enable('sessions')20 set('sessions').should.be_true21 end22 end23 24 describe 'disable()'25 it 'should disable an option'26 disable('sessions')27 set('sessions').should.be_false28 end29 endExporting use()visionmediabefore adoptionc4dc385
line 30why, one step back30end