Comments (3)
@datasmithtech actually yes, but last week I moved all projects into a single repository and karma config
needs further improvisation.
You can use the spec.ts
files, they're alright. And the karma config
, better copy from ng-seed/universal
:
- https://github.com/ng-seed/universal/blob/master/config/karma.conf.js
- https://github.com/ng-seed/universal/blob/master/config/spec-bundle.js
Finally, the webpack.test.js
, copy it from `ngx-ps'
These config files should work without a problem. In case of trouble, let me know!
from ngx-config.
i referred to your files, however, i created my project using ng cli, so i think majority of settings should be fine. i.e. hestitate to change anything, since not familiar with webpack
i now get following error
TypeError: this.loader.loadSettings is not a function
at ConfigService.webpackJsonp.../../../../@ngx-config/core/src/config.service.js.ConfigService.init (http://localhost:9876/_karma_webpack_/webpack:/Users/dev/projects/wcoc-client-dev/~/@ngx-config/core/src/config.service.js:10:1)
at Array.res (http://localhost:9876/_karma_webpack_/webpack:/Users/dev/projects/wcoc-client-dev/~/@ngx-config/core/index.js:13:28)
from ngx-config.
@datasmithtech finally I managed to solve the issues with tests, and switched to the faster alternative: the jest platform.
You can have a look at the test configuration on this repo.
from ngx-config.
Related Issues (20)
- allow returning promise HOT 7
- testing issue with config.json HOT 3
- when is it planned to get @ngx-config/fs-loader: 6.0.0 on npmjs.org? HOT 7
- does http loader still work with an XHR JSON response? HOT 1
- need event/promise when config is loaded HOT 1
- ConfigModule should be importable in every module HOT 2
- Breaking changes in 8.2.0
- Function calls are not supported in decorators but 'ConfigModule' was called. HOT 6
- Version for angular 10 HOT 3
- How can you pass a configuration setting to a configurable modules forRoot method during import
- Support for Angular 12 HOT 1
- Unrichable endpoint
- rxjs subscribe deprecated - will be removed in v8
- Support for Angular 14
- provide unit tests and coverage for `fs-loader`
- module resolution error during AoT compilation
- merge-loader doesn't merge HOT 1
- make use of Google's JS and Material2 style guides
- use compodoc to generate project docs
- caching issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-config.