mirror of
https://github.com/django/django.git
synced 2025-08-02 10:02:41 +00:00
Added linting for JavaScript tests.
This commit is contained in:
parent
0e925de245
commit
722bf23518
10 changed files with 58 additions and 15 deletions
|
@ -1,7 +1,13 @@
|
|||
/* global module, test */
|
||||
/* eslint global-strict: 0, strict: 0 */
|
||||
'use strict';
|
||||
|
||||
module('admin.actions', {
|
||||
beforeEach: function() {
|
||||
// Number of results shown on page
|
||||
/* eslint-disable */
|
||||
window._actions_icnt = '100';
|
||||
/* eslint-enable */
|
||||
|
||||
var $ = django.jQuery;
|
||||
$('#qunit-fixture').append($('#result-table').text());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue