This fixes #152, in that it allows "collapsed stacks" files generated with tools using Windows line endings to be imported into the tool verbatim.
10 lines
318 B
TypeScript
10 lines
318 B
TypeScript
import {checkProfileSnapshot} from '../lib/test-utils'
|
|
|
|
test('importFromBGFlameGraph', async () => {
|
|
await checkProfileSnapshot('./sample/profiles/stackcollapse/simple.txt')
|
|
})
|
|
|
|
test('importFromBGFlameGraph with CRLF', async () => {
|
|
await checkProfileSnapshot('./sample/profiles/stackcollapse/simple-crlf.txt')
|
|
})
|