Skip to content

Commit e33d75e

Browse files
fix: update test:api script to ignore specific test patterns
1 parent 9dabe86 commit e33d75e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"prepare": "npm run build",
5858
"test": "jest ./test/unit",
5959
"test:unit": "jest ./test/unit",
60-
"test:api": "jest ./test/api",
60+
"test:api": "jest ./test/api --silent --testPathIgnorePatterns=\"(synchronization|metadata-branch-operations|entry-variants|global-fields-comprehensive|index).spec.ts\" --silent",
6161
"test:all": "jest ./test/unit && jest ./test/api",
6262
"test:watch": "jest ./test/unit --watch",
6363
"test:coverage": "jest ./test/unit --coverage",

test/api/asset.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable no-console */
22
/* eslint-disable promise/always-return */
3-
import { BaseAsset } from 'src';
3+
import { BaseAsset } from '../../src/lib/types';
44
import { Asset } from '../../src/lib/asset';
55
import { stackInstance } from '../utils/stack-instance';
66
import { TAsset } from './types';

0 commit comments

Comments
 (0)