menu

Testing Library

Simple and complete DOM testing utilities that encourage good testing practices.

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# General Help
view-forward
# Angular Help
view-forward
# Cypress Help
view-forward
# DOM Help
view-forward
# React Help
view-forward
# Svelte Help
view-forward
# TestCafe Help
view-forward
# Vue Help
view-forward
Team

connect ECONNREFUSED 127.0.0.1:80

January 29, 2020 at 1:19pm

connect ECONNREFUSED 127.0.0.1:80

January 29, 2020 at 1:19pm
Running two test cases getting error - connect ECONNREFUSED 127.0.0.1:80
  • code -
test('UserFrom Component render ',() => { const { container } = render(<UserForm formData={formData} />) expect(getByTestId(container, 'FormTag')).toHaveClass('Form') })
test('Project Listing render when facility role as Custom', () => { const { getByTestId } = render(<UserForm formData={formData} />) fireEvent.change(getByTestId("facilitiyRoleField"), { target: {value : ''} }) expect(getByTestId('project')).toBeDefined() })
No messages yet