Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
enedis_sge_konnector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
enedis_sge_konnector
Merge requests
!8
feat: add first failing test
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: add first failing test
feat/TU
into
main
Overview
0
Commits
3
Pipelines
3
Changes
3
Merged
Hugo SUBTIL
requested to merge
feat/TU
into
main
2 years ago
Overview
0
Commits
3
Pipelines
3
Changes
3
Expand
0
0
Merge request reports
Viewing commit
43df8010
Prev
Next
Show latest version
3 files
+
7
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
43df8010
feat: add coverage and first test
· 43df8010
Hugo SUBTIL
authored
2 years ago
__tests__/aggregate.spec.js
+
5
−
4
Options
describe
(
'
Filter function
'
,
()
=>
{
// test stuff
it
(
'
should fail
'
,
()
=>
{
expect
(
true
).
toBe
(
false
)
const
{
buildAgregatedData
}
=
require
(
'
../src/aggregate
'
)
describe
(
'
buildAgregatedData
'
,
()
=>
{
it
(
'
should return empty
'
,
async
()
=>
{
const
reply
=
await
buildAgregatedData
([],
'
com.enedis.day
'
)
expect
(
reply
).
toEqual
([])
})
})
Loading