We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e95061 commit 592e0e8Copy full SHA for 592e0e8
recipes/javascript/tests/jest.md
@@ -48,9 +48,9 @@ $ npm install jest -D
48
test('Square a number successfully', () => {
49
expect(foo(3)).toBe(9)
50
})
51
-
52
- // To group cases, use `describe` and `it` (which is an alias for `test`).
53
- // You can also have 2 `describe` levels around `it`.
+ ```
+ To group cases, use `describe` and `it` (which is an alias for `test`). You can also have 2 `describe` levels around `it`.
+ ```javascript
54
describe("Hello.vue", () => {
55
it("can square a number successfully", () => {
56
expect(foo(3)).toEqual(9);
0 commit comments