Skip to content

Commit

Permalink
fix: cdn bundle (#100)
Browse files Browse the repository at this point in the history
* fix: cdn bundle

* chore: use default export in locale tests

Co-authored-by: Tsvetomir Tsonev <[email protected]>
  • Loading branch information
Ivan Peshev and tsvetomir authored Apr 30, 2020
1 parent 6edee13 commit 9d68634
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions locale-tests/generated-locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('generated-locales', () => {

describe(`numbers`, () => {
beforeAll(() => {
const numbers = require(`./locales/${ locale }/numbers`);
const numbers = require(`./locales/${ locale }/numbers`).default;
setData(numbers);
});

Expand All @@ -57,8 +57,8 @@ describe('generated-locales', () => {

describe(`currency`, () => {
beforeAll(() => {
const numbers = require(`./locales/${ locale }/numbers`);
const currencies = require(`./locales/${ locale }/currencies`);
const numbers = require(`./locales/${ locale }/numbers`).default;
const currencies = require(`./locales/${ locale }/currencies`).default;

setData(numbers);
setData(currencies);
Expand Down Expand Up @@ -98,7 +98,7 @@ describe('generated-locales', () => {

describe(`calendar`, () => {
beforeAll(() => {
const calendar = require(`./locales/${ locale }/calendar`);
const calendar = require(`./locales/${ locale }/calendar`).default;
setData(calendar);
});

Expand Down Expand Up @@ -133,7 +133,7 @@ describe('generated-locales', () => {

describe(`all`, () => {
beforeAll(() => {
const all = require(`./locales/${ locale }/all`);
const all = require(`./locales/${ locale }/all`).default;
setData(all);
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {},
"devDependencies": {
"@telerik/eslint-config": "^1.0.0",
"@progress/kendo-package-tasks": "^4.0.1",
"@progress/kendo-package-tasks": "dev",
"@telerik/semantic-prerelease": "^1.3.3",
"cldr-data": "latest",
"cz-conventional-changelog": "^1.1.5",
Expand Down

0 comments on commit 9d68634

Please sign in to comment.