@forter/chart
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -6,2 +6,10 @@ # Change Log | ||
## [4.0.6](https://github.com/forter/web-components/compare/@forter/chart@4.0.5...@forter/chart@4.0.6) (2020-03-09) | ||
**Note:** Version bump only for package @forter/chart | ||
## [4.0.5](https://github.com/forter/web-components/compare/@forter/chart@4.0.4...@forter/chart@4.0.5) (2020-02-05) | ||
@@ -8,0 +16,0 @@ |
import { decorate as _decorate } from './_virtual/_rollupPluginBabelHelpers.js'; | ||
import { LitElement, property, html } from 'lit-element'; | ||
import { Chart } from 'chart.js'; | ||
import 'chart.js'; | ||
import style from './fc-chart.css'; | ||
const { | ||
Chart | ||
} = window; | ||
Chart.defaults.global.legend.position = 'bottom'; | ||
@@ -7,0 +10,0 @@ Chart.defaults.global.legend.labels.usePointStyle = true; |
{ | ||
"name": "@forter/chart", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"description": "Chart from Forter Components", | ||
@@ -49,3 +49,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "87716e298800395f12d233964b9a3a0663095670" | ||
"gitHead": "1075b4d09866edb0abd6dd1d991cd49b04ad340f" | ||
} |
@@ -1,11 +0,19 @@ | ||
import { expect, defineCE, fixture } from '@open-wc/testing'; | ||
import { assertWebComponentRender } from '@forter/test-helpers'; | ||
import { markdownToProperties } from '@forter/storybook-helpers'; | ||
import markdown from '../README.md'; | ||
import './fc-chart'; | ||
import { FcChart } from './FcChart'; | ||
describe('fc-chart', () => { | ||
const Chart = defineCE(FcChart); | ||
it('Instantiates without error', async () => { | ||
const element = await fixture(`<${Chart}></${Chart}>`); | ||
expect(element.localName).to.equal(Chart); | ||
}); | ||
}); | ||
const properties = markdownToProperties(FcChart, markdown); | ||
describe(FcChart.is, assertWebComponentRender( | ||
FcChart.is, | ||
properties, { | ||
chaiDomDiffOpts: { | ||
ignoreAttributes: [ | ||
{ tags: ['canvas'], attributes: ['style', 'width', 'height'] }, | ||
], | ||
}, | ||
} | ||
)); |
import { LitElement, html, property } from 'lit-element'; | ||
import { Chart } from 'chart.js'; | ||
import 'chart.js'; | ||
import style from './fc-chart.css'; | ||
const { Chart } = window; | ||
Chart.defaults.global.legend.position = 'bottom'; | ||
@@ -7,0 +8,0 @@ Chart.defaults.global.legend.labels.usePointStyle = true; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60078
25
1053