Skip to content

Commit

Permalink
Merge pull request #16 from smartlyio/chore/fix-test-imports
Browse files Browse the repository at this point in the history
Chore/fix test imports
  • Loading branch information
jdmon authored Sep 3, 2024
2 parents e0703c6 + 7c9b1d7 commit 0c05c4b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Build packages
run: yarn build

# Tests
- name: Run tests
run: yarn test
Expand Down
3 changes: 1 addition & 2 deletions packages/yavl-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"typescript": ">=4 <6"
},
"dependencies": {
"@smartlyio/yavl": "^6.0.8",
"tsconfig-paths": "4.2.0"
"@smartlyio/yavl": "^6.0.8"
},
"keywords": [
"typescript",
Expand Down
5 changes: 1 addition & 4 deletions packages/yavl-hooks/src/hooks/useFieldsAnnotation.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { act, renderHook } from '@testing-library/react-hooks';
import { createAnnotation } from '../../../yavl/src/annotations';
import model from '../../../yavl/src/model';
import createValidationContext from '../../../yavl/src/validate/createValidationContext';
import updateModel from '../../../yavl/src/validate/updateModel';
import { updateModel, createValidationContext, model, createAnnotation } from '@smartlyio/yavl';
import { useFieldsAnnotation } from './useFieldsAnnotation';

describe('useFieldsAnnotation', () => {
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6672,7 +6672,7 @@ ts-toolbelt@^6.15.1:
resolved "https://registry.npmjs.org/ts-toolbelt/-/ts-toolbelt-6.15.5.tgz"
integrity sha512-FZIXf1ksVyLcfr7M317jbB67XFJhOO1YqdTcuGaq9q5jLUoTikukZ+98TPjKiP2jC5CgmYdWWYs0s2nLSU0/1A==

tsconfig-paths@4.2.0, tsconfig-paths@^4.1.2:
tsconfig-paths@^4.1.2:
version "4.2.0"
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz#ef78e19039133446d244beac0fd6a1632e2d107c"
integrity sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==
Expand Down

0 comments on commit 0c05c4b

Please sign in to comment.