Skip to content

Commit

Permalink
clean af spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Mar 12, 2024
1 parent 6662120 commit 7e52f79
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

import { Component, OnInit } from '@angular/core';
import { ConfigService } from '../../../services/config.service';
import { MountConfig } from 'cypress/angular';
import { HttpClient, HttpHandler } from '@angular/common/http';
import * as gerard from '../../GN2Common.module';

@Component({
selector: 'pnx-pouet',
Expand All @@ -22,20 +19,8 @@ export class testComponent implements OnInit {
export abstract class ConfigMock { }

describe('testComponent', () => {
// const config: MountConfig<testComponent> = {
// imports: [GN2CommonModule],
// providers: [ConfigService, HttpClient]
// }

it('uses custom text for the button label', () => {
// cy.stub(window, 'prompt').returns('my custom message')
// const cs: ConfigService = new ConfigService();

// // After that, mount your component

// cy.window().its('prompt').should('be.called')
// cy.get('.name').should('have.value', 'my custom message')
// console.log(cy.stub(_ds, "getAcquisitionFrameworks").returns({}))

cy.mount(testComponent, {
imports: [],
Expand Down

0 comments on commit 7e52f79

Please sign in to comment.