Skip to content

Commit

Permalink
test: verify large format logos for jsx and vanilla in js and mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
skjalgepalg committed Oct 16, 2023
1 parent 8780cfd commit 390ebf7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/core-icons-jsx.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
const icons = require('@nrk/core-icons/jsx')
const expressive = require('@nrk/core-icons/jsx/expressive')
const logos = require('@nrk/core-icons/jsx/logo')
const largeLogos = require('@nrk/core-icons/jsx/logo/large')
const previews = require('@nrk/core-icons/jsx/preview')

console.info(`
Package contains the following for React as commonJS:\n
- ${Object.keys(icons).length} icons\n
- ${Object.keys(expressive).length} expressive icons\n
- ${Object.keys(logos).length} logos\n
- ${Object.keys(largeLogos).length} large format logos\n
- ${Object.keys(previews).length} previews\n
`)
2 changes: 2 additions & 0 deletions test/core-icons-jsx.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
import * as icons from '@nrk/core-icons/jsx'
import * as expressive from '@nrk/core-icons/jsx/expressive'
import * as logos from '@nrk/core-icons/jsx/logo'
import * as largeLogos from '@nrk/core-icons/jsx/logo/large'
import * as previews from '@nrk/core-icons/jsx/preview'

console.info(`
Package contains the following for React as ESM:\n
- ${Object.keys(icons).length} icons\n
- ${Object.keys(expressive).length} expressive icons\n
- ${Object.keys(logos).length} logos\n
- ${Object.keys(largeLogos).length} large format logos\n
- ${Object.keys(previews).length} previews\n
`)
2 changes: 2 additions & 0 deletions test/core-icons.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
const icons = require('@nrk/core-icons')
const expressive = require('@nrk/core-icons/expressive')
const logos = require('@nrk/core-icons/logo')
const largeLogos = require('@nrk/core-icons/logo/large')
const previews = require('@nrk/core-icons/preview')

console.info(`
Package contains the following for commonJS:\n
- ${Object.keys(icons).length} icons\n
- ${Object.keys(expressive).length} expressive icons\n
- ${Object.keys(logos).length} logos\n
- ${Object.keys(largeLogos).length} large format logos\n
- ${Object.keys(previews).length} previews\n
`)
2 changes: 2 additions & 0 deletions test/core-icons.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
import * as icons from '@nrk/core-icons'
import * as expressive from '@nrk/core-icons/expressive'
import * as logos from '@nrk/core-icons/logo'
import * as largeLogos from '@nrk/core-icons/logo/large'
import * as previews from '@nrk/core-icons/preview'

console.info(`
Package contains the following for ESM:\n
- ${Object.keys(icons).length} icons\n
- ${Object.keys(expressive).length} expressive icons\n
- ${Object.keys(logos).length} logos\n
- ${Object.keys(largeLogos).length} large format logos\n
- ${Object.keys(previews).length} previews\n
`)

0 comments on commit 390ebf7

Please sign in to comment.