File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 2
2
@import ' constants' ;
3
3
4
4
.option {
5
- width : 45 % ;
6
- margin-bottom : 20 px ;
5
+ width : 100 % ;
6
+ margin-bottom : 30 px ;
7
7
8
8
h2 {
9
9
font-size : 1.1rem ;
18
18
19
19
pre {
20
20
@include light-code ();
21
- font-size : 14px ; // make things fit
22
21
padding : 10px ;
23
22
margin-bottom : 1rem ;
24
23
}
Original file line number Diff line number Diff line change @@ -28,15 +28,11 @@ <h2>Jasmine for Node.js</h2>
28
28
< div class ="option ">
29
29
< h2 > Jasmine for Browsers</ h2 >
30
30
< p > Add Jasmine to your package.json</ p >
31
- < pre > npm install --save-dev \
32
- jasmine-browser-runner \
33
- jasmine-core</ pre >
31
+ < pre > npm install --save-dev jasmine-browser-runner jasmine-core</ pre >
34
32
< p > Initialize Jasmine in your project</ p >
35
33
< pre > npx jasmine-browser-runner init</ pre >
36
34
< p > Set jasmine as your test script in your package.json</ p >
37
- < pre > "scripts": {
38
- "test": "jasmine-browser-runner runSpecs"
39
- }</ pre >
35
+ < pre > "scripts": {"test": "jasmine-browser-runner runSpecs"}</ pre >
40
36
< p > Run your tests</ p >
41
37
< pre > npm test</ pre >
42
38
< p >
You can’t perform that action at this time.
0 commit comments