Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
800
Issues
800
List
Boards
Labels
Service Desk
Milestones
Merge Requests
57
Merge Requests
57
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
0c9a0fd9
Commit
0c9a0fd9
authored
48 minutes ago
by
Ben Hayward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update login.spec.ts
parent
a838b31d
feat/login-warn-on-email-331
1 merge request
!411
[Sprint/GiddyGiraffe](feat): Added in a warning if the user tries entering an email #331
Pipeline
#69612900
passed with stages
in 29 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
login.spec.ts
src/app/modules/forms/login/login.spec.ts
+1
-1
No files found.
src/app/modules/forms/login/login.spec.ts
View file @
0c9a0fd9
...
...
@@ -238,7 +238,7 @@ describe('LoginForm', () => {
expect
(
errorMessage
.
nativeElement
.
hidden
).
toBeFalsy
();
}));
f
it
(
'
should spawn error message when an email is entered as a username
'
,
fakeAsync
(()
=>
{
it
(
'
should spawn error message when an email is entered as a username
'
,
fakeAsync
(()
=>
{
username
.
nativeElement
.
value
=
'
test@minds.com
'
;
login
({
'
status
'
:
'
error
'
},
'
test@minds.com
'
);
expect
(
errorMessage
.
nativeElement
.
hidden
).
toBeFalsy
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment