Skip to content
Permalink
9e35ea1ac8
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Kevin Sawicki Add initial util test
Latest commit 6f11b5d Apr 29, 2020 History
0 contributors

Users who have contributed to this file

9 lines (7 sloc) 299 Bytes
import * as fs from 'fs';
import * as util from './util';
test('getToolNames', () => {
const input = fs.readFileSync(__dirname + '/testdata/tool-names.sarif', 'utf8')
const toolNames = util.getToolNames(input);
expect(toolNames).toStrictEqual(["CodeQL command-line toolchain", "ESLint"])
})