Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Fixed missing test module
Browse files Browse the repository at this point in the history
  • Loading branch information
George Schneeloch committed Sep 23, 2015
1 parent 17d3586 commit 77594fd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ui/jstests/test-xml_panel.jsx
Expand Up @@ -22,6 +22,21 @@ define(['QUnit', 'jquery', 'react', 'lodash', 'learning_resources', 'xml_panel',
"terms": ["required"]
};

QUnit.module('Test XML panel', {
beforeEach: function() {
TestUtils.setup();

TestUtils.initMockjax({
url: '/api/v1/repositories/repo/learning_resources/1/',
type: 'GET',
responseText: learningResourceResponse
});
},
afterEach: function() {
TestUtils.cleanup();
}
});

QUnit.test(
'Textarea should be selected',
function(assert) {
Expand Down

0 comments on commit 77594fd

Please sign in to comment.