-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
87 changed files
with
1,926 additions
and
1,220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './dist/api.js'; | ||
export * from './dist/api/index.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 15 additions & 9 deletions
24
e2e/src/programmatic/grouping/server/controllers/login.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
$Tag('server'); | ||
$Epic('Authentication'); | ||
$Feature('Login'); | ||
/** | ||
* Server login controller tests. | ||
* ------------------------------ | ||
* @tag server | ||
* @epic Authentication | ||
* @feature Login | ||
*/ | ||
describe('POST /login', () => { | ||
$Story('Validation'); | ||
beforeEach(() => { | ||
/** Environment setup */ | ||
// This hook should set up the environment for each test case. | ||
}); | ||
|
||
it('should return 401 if user is not found', () => { | ||
// ... | ||
/** @story Validation */ | ||
}); | ||
|
||
$Story('Validation'); | ||
it('should return 401 if password is incorrect', () => { | ||
// ... | ||
/** @story Validation */ | ||
}); | ||
|
||
$Story('Happy path'); | ||
it('should return 200 and user details if login is successful', () => { | ||
// ... | ||
/** @story Happy path */ | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.