summaryrefslogtreecommitdiff
path: root/js_tests/admin/SelectBox.test.js
diff options
context:
space:
mode:
authorNik Nyby <nikolas@gnu.org>2015-08-26 00:24:55 -0400
committerTim Graham <timograham@gmail.com>2015-09-02 13:52:38 -0400
commit722bf23518afad6fd90694c17484da33551e4cef (patch)
tree2691ad771db7fe67e207ef5f96221687316b7f5c /js_tests/admin/SelectBox.test.js
parent0e925de245a0a1bf5d063c816c8bff9f0280a4c7 (diff)
Added linting for JavaScript tests.
Diffstat (limited to 'js_tests/admin/SelectBox.test.js')
-rw-r--r--js_tests/admin/SelectBox.test.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js_tests/admin/SelectBox.test.js b/js_tests/admin/SelectBox.test.js
index b2e36e0ab2..cb0259d12c 100644
--- a/js_tests/admin/SelectBox.test.js
+++ b/js_tests/admin/SelectBox.test.js
@@ -1,10 +1,14 @@
+/* global module, test, SelectBox */
+/* eslint global-strict: 0, strict: 0 */
+'use strict';
+
module('admin.SelectBox');
test('init: no options', function(assert) {
var $ = django.jQuery;
$('<select id="id"></select>').appendTo('#qunit-fixture');
SelectBox.init('id');
- assert.equal(SelectBox.cache['id'].length, 0);
+ assert.equal(SelectBox.cache.id.length, 0);
});
test('filter', function(assert) {