annotate vakata-jstree-3.3.5/test/unit/test.js @ 4:c7de860e5be7 draft

add jstree
author mingchen0919
date Wed, 18 Apr 2018 10:03:56 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
1 test('basic test', function() {
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
2 expect(1);
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
3 ok(true, 'this had better work.');
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
4 });
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
5
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
6
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
7 test('can access the DOM', function() {
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
8 expect(1);
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
9 var fixture = document.getElementById('qunit-fixture');
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
10 equal(fixture.innerText || fixture.textContent, 'this had better work.', 'should be able to access the DOM.');
c7de860e5be7 add jstree
mingchen0919
parents:
diff changeset
11 });