Skip to content

Commit

Permalink
fix(icon): use cdn test (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciomutte authored Jul 28, 2023
1 parent 2a7deb0 commit 71b7c20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/components/icon/icon.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { newSpecPage } from '@stencil/core/testing'

import { AtomIcon } from './icon'

const URL_MOCK = 'https://cdn.juntossomosmais.com.br/atomium/icons'
const URL_MOCK = 'https://d2kfdqa8kiizgt.cloudfront.net/atomium/icons'

describe('atom-icon', () => {
it('should render ion-icon element', async () => {
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/components/icon/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Component, Host, Prop, h } from '@stencil/core'

import { IconProps } from '../../icons'

const CDN_URL = 'https://cdn.juntossomosmais.com.br/atomium/icons'
// @note: this is a temporary solution using sandbox until we have a proper CDN for our icons
const CDN_URL = 'https://d2kfdqa8kiizgt.cloudfront.net/atomium/icons'

@Component({
tag: 'atom-icon',
Expand Down

0 comments on commit 71b7c20

Please sign in to comment.