Skip to content

Commit

Permalink
snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed Sep 17, 2020
1 parent a792ce6 commit 4d94142
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lighthouse-core/test/lib/tracehouse/main-thread-tasks-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -827,12 +827,13 @@ describe('Main Thread Tasks', () => {
const tasks = run({traceEvents});
const taskTreeAsString = MainThreadTasks.printTaskTreeToDebugString(tasks, {printWidth: 50});
expect(taskTreeAsString).toMatchInlineSnapshot(`
"Total Duration: 100ms
"Trace Duration: 100ms
Range: [0, 100]
█ = 2.00ms
█████████████████████████A█████████████████████████
████████████B█████████████ ███████D████████
███████C████████
████████████B█████████████ ███████D████████
███████C████████
A = TaskA
B = TaskB
Expand Down

0 comments on commit 4d94142

Please sign in to comment.