Skip to content

Commit

Permalink
Add types/jest
Browse files Browse the repository at this point in the history
  • Loading branch information
tancredi committed Mar 17, 2021
1 parent 38ef13e commit 7b21599
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"devDependencies": {
"@types/cli-color": "^2.0.0",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.35",
"@types/svg2ttf": "^5.0.0",
"@types/svgicons2svgfont": "^9.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/generators/asset-types/__tests__/ts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import tsGen from '../ts';
import path from 'path';
import { join, dirname } from 'path';

const mockAssets = {
foo: {
Expand All @@ -20,7 +20,7 @@ const mockOptions = {
name: 'my-icons-set',
assets: mockAssets,
codepoints: mockCodepoints,
inputDir: path.join(path.dirname(__filename), 'fixtures'),
inputDir: join(dirname(__filename), 'fixtures'),
outputDir: '/dev/null'
} as any;

Expand Down

0 comments on commit 7b21599

Please sign in to comment.