Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: TTL-924 skip tests for modules that are not being used (Azure)
  • Loading branch information
mmaquina committed Jul 10, 2023
commit d6ec15f01136644506b7656ed994cf791768271b
3 changes: 2 additions & 1 deletion src/app/modules/login/login.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import { SocialAuthService } from 'angularx-social-login';
import { UserService } from '../user/services/user.service';


describe('LoginComponent', () => {
// since the backend is not in Azure, this module is not used
xdescribe('LoginComponent', () => {
let component: LoginComponent;
let fixture: ComponentFixture<LoginComponent>;
let azureAdB2CService: AzureAdB2CService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import { FeatureToggleModel } from '../../feature-toggles/feature-toggle.model';
import { FeatureFilterModel } from '../../feature-toggles/filters/feature-filter.model';
import { DarkModeComponent } from './dark-mode.component';

describe('DarkModeComponent', () => {

// since the backend is not in Azure, this module is not used
xdescribe('DarkModeComponent', () => {
let component: DarkModeComponent;
let fixture: ComponentFixture<DarkModeComponent>;
let html: HTMLElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import { FeatureToggleModel } from '../feature-toggle.model';
import { TargetingFeatureFilterModel } from '../filters/targeting/targeting-feature-filter.model';
import { FeatureToggleCookiesService } from './feature-toggle-cookies.service';

describe('FeatureToggleCookiesService', () => {

// since the backend is not in Azure, this module is not used
xdescribe('FeatureToggleCookiesService', () => {
let cookieService: CookieService;
let featureToggleGeneralService: FeatureToggleGeneralService;
let service: FeatureToggleCookiesService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { HttpClientTestingModule } from '@angular/common/http/testing';
import { SocialAuthService } from 'angularx-social-login';


describe('FeatureToggleGeneralService', () => {
// since the backend is not in Azure, this module is not used
xdescribe('FeatureToggleGeneralService', () => {
let featureToggleGeneralService: FeatureToggleGeneralService;
let featureManagerService: FeatureManagerService;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { FeatureFilterProvider } from './filters/feature-filter-provider.service
import { TargetingFeatureFilterModel } from './filters/targeting/targeting-feature-filter.model';


describe('FeatureToggleManager', () => {
// since the backend is not in Azure, this module is not used
xdescribe('FeatureToggleManager', () => {
const fakeAppConfigurationConnectionString = 'Endpoint=http://fake.foo;Id=fake.id;Secret=fake.secret';
const aFeatureToggle = new FeatureToggleModel('any-id', true, []);
let service: FeatureManagerService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { FeatureFilterProvider } from './filters/feature-filter-provider.service
import { TargetingFeatureFilterModel } from './filters/targeting/targeting-feature-filter.model';


describe('FeatureToggleProvider', () => {
// since the backend is not in Azure, this module is not used
xdescribe('FeatureToggleProvider', () => {
const anyToggleResponse: FeatureToggleConfiguration = {
id: '1',
enabled: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import { environment } from '../../../../environments/environment';
import { InjectTokenInterceptor } from './inject.token.interceptor';
import { LoginService } from '../../login/services/login.service';

describe('InjectTokenInterceptor test', () => {

// since the backend is not in Azure, this module is not used
xdescribe('InjectTokenInterceptor test', () => {

class MockHttpHandler extends HttpHandler {
handle(req: HttpRequest<any>): Observable<HttpEvent<any>> {
Expand Down