Skip to content

Commit c189f86

Browse files
committed
fix broken code block in test docs
1 parent 6a08f18 commit c189f86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_posts/tutorial-docs/2016-01-03-tests.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ Data can be loaded in the user's file by loading it from your tutorial folder. J
4949
Although bad practice, it can be easiest to set data to the global scope.
5050

5151
*path/to/tutorial/data/file.js
52+
5253
```js
5354
var data = 42;
5455
```
5556

5657
*test.spec.js*
58+
5759
```
5860
/// load('data/file.js', true)
5961
/// load('user-file.js')
@@ -64,6 +66,7 @@ var data = 42;
6466
Users can access global data by name in their file.
6567

6668
*user-file.js*
69+
6770
```js
6871
var secret = data - 1;
6972
```

0 commit comments

Comments
 (0)