Commit Graph

12 Commits

Author SHA1 Message Date
Michael Newman
aedcffab3b Convert parse-stack.js to TypeScript (#10653)
* rename

* we don't need underscore to check whether an array is empty

* add types, resolve type issues

* remove unused markTop in run.js

* Make the type a little more consistent

* Tweak a check for an empty array

Co-Authored-By: Marcelo T Prado <marceloterreiroprado@gmail.com>
2020-04-20 14:47:34 -04:00
Ben Newman
5ed64fb1db Remove explicit .js extension from tools/fs/files imports. 2019-07-04 10:32:09 -04:00
Tom Coleman
1344228a51 Mark the bottom of the stack everytime we start a new self test.
Because longjohn was collecting frames across runs of self test in the loop, we were actually seeing frame lists that applied to more than one test. 

This wasn't actually causing problems except in our frame parsing tests, but you can imagine that it would be quite unhelpful.
2016-05-06 15:11:32 -07:00
Tom Coleman
b5acef6def Stack parsing test was failing due to longjohn 2016-05-06 10:00:57 -07:00
Sashko Stubailo
38d0c89597 Fix parse stack test to convert file paths 2015-09-11 15:01:50 -07:00
Sashko Stubailo
863be787ab Fix buildmessage concatenating stack traces 2015-08-10 20:08:52 -07:00
Sashko Stubailo
e8bb6f400d Fix parse-stack tests 2015-08-10 15:01:18 -07:00
Slava Kim
39d8aef3d9 move files into console/ tool-testing/ 2015-08-06 16:39:00 -07:00
Slava Kim
8a8db83d29 Move files into tools/utils 2015-08-03 20:32:38 -07:00
Sashko Stubailo
286f1e29e2 When the stack has two parts, print both
This makes it much much easier to debug build plugins
2015-07-29 12:06:09 -07:00
Sashko Stubailo
11c632d2f0 Add comment for future work 2015-07-29 11:50:45 -07:00
Sashko Stubailo
617c22a79a Add simple test for parse-stack 2015-07-29 11:50:02 -07:00