Merge pull request #3224 from overleaf/ta-frontend-tests-lint

Run Lint Test Rules on Frontend Tests

GitOrigin-RevId: 03d3618eab2c6d2822233607da3ffa64ac132cd0
This commit is contained in:
Alasdair Smith 2020-09-25 09:39:24 +01:00 committed by Copybot
parent 0bf442c114
commit 0d78719320
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@
// NOTE: changing paths may require updating them in the Makefile too. // NOTE: changing paths may require updating them in the Makefile too.
{ {
// Test specific rules // Test specific rules
"files": ["**/test/*/src/**/*.js"], "files": ["**/test/*/src/**/*.js", "**/test/**/*.test.js"],
"globals": { "globals": {
"expect": true "expect": true
}, },

View file

@ -5,7 +5,7 @@ import {
nestOutline nestOutline
} from '../../../../frontend/js/features/outline/outline-parser' } from '../../../../frontend/js/features/outline/outline-parser'
describe.only('OutlineParser', function() { describe('OutlineParser', function() {
describe('matchOutline', function() { describe('matchOutline', function() {
it('matches all levels', function() { it('matches all levels', function() {
const content = ` const content = `