mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 09:10:07 +08:00
This commit only adds a single package and all of its transitive dependencies. The github-linguist package will be used for counting lines of code as a baseline for databases we are analyzing.
12 lines
358 B
JavaScript
12 lines
358 B
JavaScript
var map = require('./');
|
|
var assert = require('assert');
|
|
|
|
describe('language map', function () {
|
|
describe('module', function () {
|
|
it('should export an object with languages as the keys', function () {
|
|
assert.ok(map['Python'].extensions.indexOf('.py') > -1);
|
|
assert.ok(map['JavaScript'].extensions.indexOf('.js') > -1);
|
|
});
|
|
});
|
|
});
|