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

Add a autocomplete option #219

Open
gparlakov-vmware opened this issue May 13, 2024 · 1 comment
Open

Add a autocomplete option #219

gparlakov-vmware opened this issue May 13, 2024 · 1 comment

Comments

@gparlakov-vmware
Copy link

When on a dependency - add that dependency to the spec
when on a method - add a test case for that method to the spec

Add a per-type processing

i.e. for

  • GraphQL error handler make the default always add a mockReturnValue(x => x)
  • GraphQL Response - mock with the {fetch: jest.fn().mockReturnValue(fetch$ /* ReplaySubject */})
  • boilerplate for autoSpy feature
@gparlakov-vmware
Copy link
Author

Also add a shortcut for until stop

  let untilStop$: Subject<void>;
  beforeEach(() => {
    untilStop$ = new Subject();
  });
  afterEach(() => {
    untilStop$.next();
    untilStop$.complete();
  });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant