rafoli / liferay-sample-workspace

2 stars 7 forks source link

bug/angular-testing-errors #50

Closed rennanprysthon closed 3 years ago

rennanprysthon commented 3 years ago

Some errors happened when running the command: blade gw deploy.

These errors happened because HttpClientModule and RouterTestingModule are missing on import of '.spec' classes and the project can't recognize the 'Liferay' variable.

Because of this, I added the modules that were missing in the '.spec' files, created the interceptor to add auth params in each request and use a typescript tip to project recognize the 'Liferay' global variable.