# Any Way to Align/Format/Lint code in Tests Block in Postman?

**URL:** <https://community.postman.com/t/any-way-to-align-format-lint-code-in-tests-block-in-postman/12277>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [April 28, 2020, 8:20pm UTC](https://community.postman.com/t/any-way-to-align-format-lint-code-in-tests-block-in-postman/12277 "2020-04-28T20:20:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajatPuneak](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/rajatpuneak/32/4300_2.png) [@rajatPuneak](https://community.postman.com/u/rajatPuneak)\
**Post date:** [April 28, 2020, 8:20pm UTC](https://community.postman.com/t/any-way-to-align-format-lint-code-in-tests-block-in-postman/12277/1 "2020-04-28T20:20:08Z")

</div>

The Tests Block code goes shaby at times, any feature / shortcut to beautify/ Align the JS code properly.

---

<div class="post-metadata">

**Author:** ![lior.h](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/lior.h/32/6078_2.png) [@lior.h](https://community.postman.com/u/lior.h)\
**Post date:** [October 28, 2020, 10:42am UTC](https://community.postman.com/t/any-way-to-align-format-lint-code-in-tests-block-in-postman/12277/2 "2020-10-28T10:42:15Z")

</div>

Upvoting… this would be a very handy feature

---

<div class="post-metadata">

**Author:** ![praveendvd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/praveendvd/32/6796_2.png) [@praveendvd](https://community.postman.com/u/praveendvd)\
**Post date:** [December 25, 2020, 12:49am UTC](https://community.postman.com/t/any-way-to-align-format-lint-code-in-tests-block-in-postman/12277/3 "2020-12-25T00:49:28Z")

</div>

It’s already there you can press ctrl + b

---

<div class="post-metadata">

**Author:** ![naveenkhunteta](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@naveenkhunteta](https://community.postman.com/u/naveenkhunteta)\
**Post date:** [June 27, 2023, 1:42pm UTC](https://community.postman.com/t/any-way-to-align-format-lint-code-in-tests-block-in-postman/12277/5 "2023-06-27T13:42:43Z")

</div>

for MAC users: press Command + b  
For Windows users: press cntrl + b
