summaryrefslogtreecommitdiff
path: root/js_tests/admin/SelectBox.test.js
diff options
context:
space:
mode:
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) {