mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
0bf442c114
commit
0d78719320
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
|
@ -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 = `
|
||||||
|
|
Loading…
Reference in a new issue