Merge pull request #12 from muselesscreator/list_tests

ListView tests
This commit is contained in:
Ben Warzeski
2021-10-19 09:29:33 -04:00
committed by GitHub
11 changed files with 562 additions and 26 deletions

View File

@@ -1,4 +1,3 @@
import { feedbackRequirement } from 'data/services/lms/constants';
// import * in order to mock in-file references

View File

@@ -4,8 +4,17 @@ import { configuration } from 'config';
const baseUrl = `${configuration.LMS_BASE_URL}`;
const api = `${baseUrl}/api/`;
const course = (courseId) => `${baseUrl}/courses/${courseId}`;
const openResponse = (courseId) => (
`${course(courseId)}/instructor#view-open_response_assessment`
);
const ora = (courseId, locationId) => `${course(courseId)}/jump_to/${locationId}`;
export default StrictDict({
api,
baseUrl,
course,
openResponse,
ora,
});