/
githubmirror
/
edx-platform
Обзор
Документация
Войти
/
githubmirror
/
edx-platform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-ulmo
cms/static/js/spec/utils/module_spec.js
17 строк
597 B
Brian Jacobel
Run eslint autofixer on /cms
08 авг 2016, 22:04
08 авг 2016, 22:04
d43e915
Код
Авторство
О чём код?
define(['js/utils/module'], function(ModuleUtils) { describe('urlRoot ', function() { it('defines xblock urlRoot', function() { expect(ModuleUtils.urlRoot).toBe('/xblock'); }); }); describe('getUpdateUrl ', function() { it('can take no arguments', function() { expect(ModuleUtils.getUpdateUrl()).toBe('/xblock/'); }); it('appends a locator', function() { expect(ModuleUtils.getUpdateUrl('locator')).toBe('/xblock/locator'); }); }); } );