Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarDamkjaer committed Nov 3, 2020
1 parent 61d4ddc commit ee8e02e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/browser/modules/Stream/Auth/ConnectionForm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import React from 'react'
import { render, fireEvent } from '@testing-library/react'
import { ConnectionForm } from './ConnectionForm'
import { NATIVE, NO_AUTH } from 'services/bolt/boltHelpers'

test('should print correct state for retaining credentials', async () => {
const bus = {
Expand Down Expand Up @@ -53,6 +54,7 @@ test('should print correct state for retaining credentials', async () => {
executeInitCmd={executeInitCmd}
isConnected={false}
allowedSchemes={['neo4j']}
allowedAuthMethods={[NATIVE, NO_AUTH]}
/>
)

Expand Down Expand Up @@ -84,6 +86,7 @@ test('should print correct state for retaining credentials', async () => {
executeInitCmd={executeInitCmd}
isConnected={true}
allowedSchemes={['neo4j']}
allowedAuthMethods={[NATIVE, NO_AUTH]}
/>
)

Expand All @@ -108,6 +111,7 @@ test('should print correct state for retaining credentials', async () => {
executeInitCmd={executeInitCmd}
isConnected={true}
allowedSchemes={['neo4j']}
allowedAuthMethods={[NATIVE, NO_AUTH]}
/>
)

Expand Down

0 comments on commit ee8e02e

Please sign in to comment.