test(addCanvas): fix lint error
closes #1198