Commit 08990dd3 authored by sstern's avatar sstern

Add note for jest spec best practices

parent 2df95811
...@@ -898,6 +898,7 @@ it.each([ ...@@ -898,6 +898,7 @@ it.each([
} }
); );
``` ```
**Note**: only use template literal block if pretty print is **not** needed for spec output. For example, empty strings, nested objects etc.
```javascript ```javascript
// test suite with tagged template literal block // test suite with tagged template literal block
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment