Go to file
Omar Gerardo Soto-Fortuño aa71e6ffbc Fix length issue ViolationTray.test.js
test plan:
  - Run `yarn jest
./ui/features/account_settings/react/components/__tests__/ViolationTray.test.js`
  - Notice a clean test log.
  - Remove the mockResponse.
  - Run it again and notice length error.

qa risk: low

Change-Id: I30bb20bf870efb6ed19dbc7ee01ce8edf8ac79c9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/273974
Reviewed-by: Davis Hyer <dhyer@instructure.com>
QA-Review: Davis Hyer <dhyer@instructure.com>
Product-Review: Davis Hyer <dhyer@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-09-21 15:20:00 +00:00
.github update github pr auto-assignees 2020-09-24 20:00:41 +00:00
.storybook Fix issue with ||= on storybook/preview.js 2021-06-16 14:52:29 +00:00
.vscode Add configurations to enable remote IDE debugging with rdebug-ide 2021-09-16 18:33:11 +00:00
Gemfile.d bump inst-jobs 2021-09-21 02:32:42 +00:00
app Fix crash in course copy with LTI module items 2021-09-20 18:31:02 +00:00
bin separate rubocop gems into a dedicated gemfile fragment 2021-08-25 16:24:44 +00:00
build move RSpecQ node count, file split, and requeues to canvas-builds config 2021-09-16 18:41:43 +00:00
config Show "Join" button in standard student planner 2021-09-20 12:25:28 +00:00
db/migrate bump inst-jobs 2021-09-18 15:55:49 +00:00
doc remove course dates via sis import with <delete> 2021-08-30 21:34:26 +00:00
docker-compose Add configurations to enable remote IDE debugging with rdebug-ide 2021-09-16 18:33:11 +00:00
engines Stop swallowing all the auditor errors 2021-09-14 20:02:20 +00:00
frontend_build instrument datetime natural parsing 2021-09-16 18:33:40 +00:00
gems Revert "Remove New Quizzes Embedded Module Progression" 2021-09-16 19:21:09 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest extract @canvas/timezone into a package 2021-08-24 17:43:05 +00:00
lib Revert "Remove bad mailto links" 2021-09-16 17:38:05 +00:00
log Update parallel_runtime_rspec.log from build 234 2021-09-07 14:24:45 +00:00
packages Commit new rce translated string 2021-09-20 12:25:41 +00:00
public add action drilldown to Find Outcomes Modal 2021-08-04 13:53:53 +00:00
script clean up lint_commit_message a bit 2021-09-02 17:26:08 +00:00
spec Fix crash in course copy with LTI module items 2021-09-20 18:31:02 +00:00
tmp Alpine canvas-lms based image 2020-07-15 17:21:56 +00:00
ui Fix length issue ViolationTray.test.js 2021-09-21 15:20:00 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dive-ci Spec: Add dive build 2020-03-26 14:52:06 +00:00
.dockerignore modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.editorconfig
.eslintignore Add typescript support 2021-08-18 18:21:17 +00:00
.eslintrc.js Initial pace plans import 2021-09-01 19:58:33 +00:00
.gitignore instrument datetime natural parsing 2021-09-16 18:33:40 +00:00
.gitmessage prepend some blank lines to .gitmessage 2019-08-09 16:12:53 +00:00
.groovylintrc.json fix linter rules 2021-05-19 15:43:33 +00:00
.i18nignore (re) decentralize i18nliner configuration 2021-03-10 18:52:49 +00:00
.i18nrc rename some things 2021-04-06 01:12:49 +00:00
.lintstagedrc.js Initial pace plans import 2021-09-01 19:58:33 +00:00
.npmrc
.nvmrc upgrade to node14 2021-01-27 15:33:52 +00:00
.prettierrc restore prettier rules to match pre-2.0 defaults 2021-02-09 17:03:14 +00:00
.rubocop.yml bump rubocop TargetRubyVersion to match current version in use 2021-09-03 21:40:27 +00:00
.stylelintrc modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.travis.yml
CONTRIBUTING.md Remove more freenode references 2021-06-02 16:18:53 +00:00
COPYRIGHT
Dockerfile bump apache pulsar client version to 2.8.0 2021-08-09 18:23:30 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Dockerfile.jenkins bump apache pulsar client version to 2.8.0 2021-08-09 18:23:30 +00:00
Dockerfile.jenkins-cache remove SafeYAML 2021-08-24 16:58:54 +00:00
Dockerfile.jenkins.final simplify Dockerfile template generation 2020-12-10 17:28:58 +00:00
Dockerfile.jenkins.karma-builder Properly support ruby 2.7 2021-06-11 21:06:37 +00:00
Dockerfile.jenkins.karma-runner disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
Dockerfile.jenkins.linters-final remove need to mount .git directory as volume for Linters 2021-05-10 18:57:42 +00:00
Dockerfile.jenkins.linters-runner stop using buildkit for linters image 2021-04-12 19:19:32 +00:00
Dockerfile.jenkins.webpack-builder split yarn from webpack-builder into yarn-runner 2020-12-14 18:49:51 +00:00
Dockerfile.jenkins.webpack-cache disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
Dockerfile.jenkins.yarn-runner upgrade & dedupe node packages 2021-06-21 19:46:52 +00:00
Dockerfile.package-translations More translations build improvements 2021-06-30 15:32:09 +00:00
Gemfile Revert "pin gem paths to the actual current directory" 2021-08-19 20:28:54 +00:00
Jenkinsfile improve function readability 2021-09-20 16:11:56 +00:00
Jenkinsfile.axe Add HTML link to periodic #canvas-axe-build alerts 2021-07-01 19:35:31 +00:00
Jenkinsfile.cassandra fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.contract-tests convert contract tests to using docker bridge network 2021-06-15 16:37:49 +00:00
Jenkinsfile.dive fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.docker-smoke Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
Jenkinsfile.docker-sync sync ruby-passenger 2.7 image 2021-06-11 14:13:23 +00:00
Jenkinsfile.dynamodb fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.js convert JS job to EKS-compatible syntax 2021-06-07 23:05:24 +00:00
Jenkinsfile.master-bouncer-check-all fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.package-translations More translations build improvements 2021-06-30 15:32:09 +00:00
Jenkinsfile.parallel_logs fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.postgres fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.redis fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.selenium-chrome move selenium-chrome build to helper job 2020-12-08 14:41:39 +00:00
Jenkinsfile.selenium.flakey_spec_catcher remove calls to withStarlordDockerLogin 2021-06-23 22:02:41 +00:00
Jenkinsfile.selenium.performance.chrome fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.test-subbuild fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.vendored-gems skip pulsar until more stable 2021-08-04 17:06:14 +00:00
Jenkinsfile.xbrowser fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
LICENSE
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile add frozen_string_literal comment to Gemfile and Rakefile 2021-03-30 17:51:26 +00:00
babel.config.js Add typescript support 2021-08-18 18:21:17 +00:00
bower.json Move k5uplodaer to /packages 2019-05-10 18:30:51 +00:00
code_of_conduct.md
config.ru add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
docker-compose.new-jenkins-flakey-spec-catcher.yml update fsc to go into the plugin directory to do tests 2020-06-17 14:58:09 +00:00
docker-compose.new-jenkins-js.yml disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
docker-compose.new-jenkins-package-translations.yml Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
docker-compose.new-jenkins-selenium.yml update jenkins for canvas-rce-api image 2020-12-07 16:40:09 +00:00
docker-compose.new-jenkins.consumer.yml skip uglify js / source maps on pre-merge builds v2 2020-08-11 21:05:54 +00:00
docker-compose.new-jenkins.pulsar.yml stop using a pulsar volume in jenkins build 2021-05-05 22:46:26 +00:00
docker-compose.new-jenkins.vendored-gems.yml extract canvas::redis to canvas_cache 2021-03-02 14:38:55 +00:00
docker-compose.new-jenkins.yml add RspecQ under feature flag; refs DE-803 2021-09-01 20:26:52 +00:00
docker-compose.spring.yml modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
docker-compose.yml Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
gulpfile.js replace node-sass with dart-sass 2021-07-15 17:35:35 +00:00
issue_template.md Update community urls to reflect platform move 2020-08-12 20:17:02 +00:00
jest.config.js Initial pace plans import 2021-09-01 19:58:33 +00:00
karma.conf.js align all JS output directories to single directory on Jenkins 2021-05-20 17:28:03 +00:00
package.json Add new Pace Plan picker component 2021-09-07 19:17:27 +00:00
tsconfig.json Initial pace plans import 2021-09-01 19:58:33 +00:00
ubuntu.development.Dockerfile REQUIRE bundler 2.2.17 2021-05-24 22:49:05 +00:00
ubuntu.production.Dockerfile rework handlebars dependency on brandable_css 2021-07-14 22:19:20 +00:00
webpack.config.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
webpack.test.config.js extract @canvas/timezone into a package 2021-08-24 17:43:05 +00:00
yarn.lock instrument datetime natural parsing 2021-09-16 18:33:40 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.