Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove abp package . it cause local ref problem in ABP #17797

Closed
wants to merge 2 commits into from

Conversation

mahmut-gundogdu
Copy link
Contributor

Description

Resolves #16034

When packages installed via npm.js test read from node_modules so it cause the local ref problem in Testing. So I have removed abp angular packages in package.json in ng-packs. it fixed .

Checklist

  • I fully tested it as developer / designer and created unit / integration tests
  • I documented it (or no need to document or I will create a separate documentation issue)

How to test it?

  • go to abp/npm/ng-packs
  • remove node_modules (if exists)
  • run yarn install
  • Go to a test file for example validation-utils.spec.ts
  • change a dependency outside of that package like config-state.service.ts
    expected: the test should detect and work with local changes.

"@abp/ng.tenant-management": "~7.4.0-rc.5",
"@abp/ng.theme.basic": "~7.4.0-rc.5",
"@abp/ng.theme.lepton-x": "^2.4.0-rc.4",
"@abp/ng.theme.shared": "~7.4.0-rc.5",
"@abp/utils": "~7.4.0-rc.5",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"@abp/ng.theme.lepton-x": "^2.4.0-rc.5" is missing. There is not local reference path for this package!

@mahmut-gundogdu
Copy link
Contributor Author

the PR cause different problem. So I have to close. It will fix otherway in the future.

@realLiangshiwei realLiangshiwei deleted the issue/16034 branch October 12, 2023 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Testing Libraries does not work with local references.
2 participants