Skip to content

Commit

Permalink
chore(release): 0.0.2 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Eslam3bed committed Sep 22, 2024
1 parent a1d1b27 commit d12919c
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/__test__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,6 @@ describe('Onboarding', () => {
{ id: 'step1', content: 'Step 1' },
{ id: 'step2', content: 'Step 2' },
];

// it('renders the tooltip with the correct step', () => {
// render(
// <OnboardingProvider steps={steps}>
// <OnboardingTooltip />
// </OnboardingProvider>
// );

// // Activate the onboarding
// const nextButton = screen.getByText('Next');
// expect(screen.getByText('Step 1')).toBeInTheDocument();

// fireEvent.click(nextButton);
// expect(screen.getByText('Step 2')).toBeInTheDocument();
// });

// it('disables the next button on the last step', () => {
// render(
// <OnboardingProvider steps={steps}>
// <OnboardingTooltip />
// </OnboardingProvider>
// );

// const nextButton = screen.getByText('Next');
// fireEvent.click(nextButton);

// expect(nextButton).toBeDisabled();
// });

it('checks if onboarding should start', () => {
const user = { hasCompletedOnboarding: false };
expect(shouldStartOnboarding(user)).toBe(true);
Expand Down

0 comments on commit d12919c

Please sign in to comment.