From a0a20c3abe497cb2250b582ab1702b4de03ce359 Mon Sep 17 00:00:00 2001 From: Justin Lee Date: Wed, 16 Oct 2024 14:53:44 -0700 Subject: [PATCH] removed tests --- test/batchCopyCourseContent.test.js | 7 ------- test/copyCourseContent.test.js | 7 ------- test/deleteAllCustomGradebookColumns.test.js | 7 ------- test/getAccounts.test.js | 7 ------- test/getAllCoursesInAccount.test.js | 7 ------- test/getAllCoursesInDept.test.js | 7 ------- test/getDeptIdsInAccount.test.js | 7 ------- test/hideCustomGradebookColumn.test.js | 7 ------- .../putStudentNumberInExistingCustomColumn.test.js | 7 ------- test/putStudentNumbersInGradebook.test.js | 7 ------- test/showCustomGradebookColumn.test.js | 7 ------- test/util.test.js | 14 -------------- 12 files changed, 91 deletions(-) delete mode 100644 test/batchCopyCourseContent.test.js delete mode 100644 test/copyCourseContent.test.js delete mode 100644 test/deleteAllCustomGradebookColumns.test.js delete mode 100644 test/getAccounts.test.js delete mode 100644 test/getAllCoursesInAccount.test.js delete mode 100644 test/getAllCoursesInDept.test.js delete mode 100644 test/getDeptIdsInAccount.test.js delete mode 100644 test/hideCustomGradebookColumn.test.js delete mode 100644 test/putStudentNumberInExistingCustomColumn.test.js delete mode 100644 test/putStudentNumbersInGradebook.test.js delete mode 100644 test/showCustomGradebookColumn.test.js delete mode 100644 test/util.test.js diff --git a/test/batchCopyCourseContent.test.js b/test/batchCopyCourseContent.test.js deleted file mode 100644 index 0d8dfef..0000000 --- a/test/batchCopyCourseContent.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const batchCopyCourseContent = require('../src/batchCopyCourseContent') - -test('batchCopyCourseContent function exists', () => { - expect(typeof batchCopyCourseContent).toEqual('function') -}) diff --git a/test/copyCourseContent.test.js b/test/copyCourseContent.test.js deleted file mode 100644 index 9c8cb09..0000000 --- a/test/copyCourseContent.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const copyCourseContent = require('../src/CopyCourseContent') - -test('copyCourseContent function exists', () => { - expect(typeof copyCourseContent).toEqual('function') -}) diff --git a/test/deleteAllCustomGradebookColumns.test.js b/test/deleteAllCustomGradebookColumns.test.js deleted file mode 100644 index b028d36..0000000 --- a/test/deleteAllCustomGradebookColumns.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const deleteAllCustomGradebookColumns = require('../src/deleteAllCustomGradebookColumns') - -test('deleteAllCustomGradebookColumns function exists', () => { - expect(typeof deleteAllCustomGradebookColumns).toEqual('function') -}) diff --git a/test/getAccounts.test.js b/test/getAccounts.test.js deleted file mode 100644 index 8c6c993..0000000 --- a/test/getAccounts.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const getAccounts = require('../src/getAccountIds') - -test('getAccountIDs function exists', () => { - expect(typeof getAccounts).toEqual('function') -}) diff --git a/test/getAllCoursesInAccount.test.js b/test/getAllCoursesInAccount.test.js deleted file mode 100644 index bce15cb..0000000 --- a/test/getAllCoursesInAccount.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const getAllCoursesInAccount = require('../src/getAllCoursesInAccount') - -test('getAllCoursesInAccount function exists', () => { - expect(typeof getAllCoursesInAccount).toEqual('function') -}) diff --git a/test/getAllCoursesInDept.test.js b/test/getAllCoursesInDept.test.js deleted file mode 100644 index 1032482..0000000 --- a/test/getAllCoursesInDept.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const getAllCoursesInDept = require('../src/getAllCoursesInDept') - -test('getAllCoursesInDept function exists', () => { - expect(typeof getAllCoursesInDept).toEqual('function') -}) diff --git a/test/getDeptIdsInAccount.test.js b/test/getDeptIdsInAccount.test.js deleted file mode 100644 index f889efa..0000000 --- a/test/getDeptIdsInAccount.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const getDeptIDsInAccount = require('../src/getDeptIDsInAccount') - -test('getDeptIDsInAccount function exists', () => { - expect(typeof getDeptIDsInAccount).toEqual('function') -}) diff --git a/test/hideCustomGradebookColumn.test.js b/test/hideCustomGradebookColumn.test.js deleted file mode 100644 index 76b434a..0000000 --- a/test/hideCustomGradebookColumn.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const hideCustomGradebookColumn = require('../src/hideCustomGradebookColumn') - -test('hideCustomGradebookColumn function exists', () => { - expect(typeof hideCustomGradebookColumn).toEqual('function') -}) diff --git a/test/putStudentNumberInExistingCustomColumn.test.js b/test/putStudentNumberInExistingCustomColumn.test.js deleted file mode 100644 index b3f5d33..0000000 --- a/test/putStudentNumberInExistingCustomColumn.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect, describe, it, jest */ - -const putStudentNumberInExistingCustomColumn = require('../src/putStudentNumberInExistingCustomColumn') - -test('putStudentNumberInExistingCustomColumn function exists', () => { - expect(typeof putStudentNumberInExistingCustomColumn).toEqual('function') -}) diff --git a/test/putStudentNumbersInGradebook.test.js b/test/putStudentNumbersInGradebook.test.js deleted file mode 100644 index b40eb24..0000000 --- a/test/putStudentNumbersInGradebook.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const putStudentNumbersInGradebook = require('../src/putStudentNumbersInGradebook') - -test('putStudentNumbersInGradebook function exists', () => { - expect(typeof putStudentNumbersInGradebook).toEqual('function') -}) diff --git a/test/showCustomGradebookColumn.test.js b/test/showCustomGradebookColumn.test.js deleted file mode 100644 index 3cdad6d..0000000 --- a/test/showCustomGradebookColumn.test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global test, expect */ - -const showCustomGradebookColumn = require('../src/showCustomGradebookColumn') - -test('showCustomGradebookColumn function exists', () => { - expect(typeof showCustomGradebookColumn).toEqual('function') -}) diff --git a/test/util.test.js b/test/util.test.js deleted file mode 100644 index dfd21fe..0000000 --- a/test/util.test.js +++ /dev/null @@ -1,14 +0,0 @@ -/* global describe, it */ -const assert = require('assert') -const buildOptions = require('../src/internal/util') - -describe('buildOptions', () => { - it('returns an empty string if the array passed to it is empty', () => { - assert.deepEqual(buildOptions([]), '') - }) - it('returns the options separated by &', () => { - const input = ['enrollment_type[]=teacher', 'include[]=locked', 'include[]=custom_links'] - const output = 'enrollment_type[]=teacher&include[]=locked&include[]=custom_links' - assert.deepEqual(buildOptions(input), output) - }) -})