Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
lyric-zemin committed Nov 28, 2024
1 parent c47c4cc commit 17fb495
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ignore-workspace-root-check=true
shamefully-hoist=true
registry=https://registry.npmjs.org/
4 changes: 4 additions & 0 deletions test/fontmin.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { rmdir } from 'node:fs/promises'
import { resolve } from 'node:path'
import { cwd } from 'node:process'
import { describe, expect, it } from 'vitest'
import Fontmin from 'fontmin'

describe('fontmin', () => {
it('path nested', async () => {
await rmdir(resolve(cwd(), 'test/output'), { recursive: true })
const fontmin = new Fontmin()
fontmin.src('test/**/*.{ttf,otf}').dest('test/output')
fontmin.use(Fontmin.glyph({ text: 'hello' }))
Expand Down

0 comments on commit 17fb495

Please sign in to comment.