]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix typo in test options (#7987)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Sun, 1 Nov 2020 12:38:37 +0000 (14:38 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Nov 2020 12:38:37 +0000 (07:38 -0500)
test/specs/controller.bar.tests.js

index f55d274779a16ed48dbb52bbb5418b9105f8e2a1..c80ad663d775f99294fbf502d556ef77f24ba6d6 100644 (file)
@@ -1219,7 +1219,7 @@ describe('Chart.controllers.bar', function() {
                        },
                        options: {
                                elements: {
-                                       bars: {
+                                       bar: {
                                                backgroundColor: 'rgb(255, 0, 0)',
                                                borderColor: 'rgb(0, 0, 255)',
                                                borderWidth: 2,