Skip to content
Snippets Groups Projects
Commit 4910d251 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

feat(TU): add TU stack

parent dcc4f661
No related branches found
No related tags found
1 merge request!8feat: add first failing test
......@@ -28,6 +28,7 @@ desktop.ini
.floo
.flooignore
.idea/
coverage/*
# Default
# /!\ KEEP THIS SECTION THE LAST ONE
!.gitkeep
const { buildAgregatedData } = require('../src/aggregate')
describe('buildAgregatedData', () => {
it('should return empty', async () => {
const reply = await buildAgregatedData([], 'com.enedis.day')
expect(reply).toEqual([])
})
})
......@@ -28,6 +28,8 @@
"start": "node ./src/index.js",
"dev": "cozy-konnector-dev",
"standalone": "cozy-konnector-standalone",
"test": "jest",
"test:cov": "jest --coverage",
"pretest": "npm run clean",
"clean": "rm -rf ./data",
"build": "webpack",
......@@ -40,6 +42,7 @@
"dependencies": {
"cozy-konnector-libs": "4.52.1",
"easy-soap-request": "^4.7.0",
"jest": "^28.1.3",
"moment": "^2.29.3",
"moment-timezone": "^0.5.34",
"xml2js": "^0.4.23"
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment