Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc189f86

Browse files
committed
fix broken code block in test docs
1 parent6a08f18 commitc189f86

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)

[8]ページ先頭

©2009-2025 Movatter.jp