Skip to content

Commit d7f00c5

Browse files
committed
test debug
1 parent e5674e9 commit d7f00c5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"ft_test:cron": "mocha --recursive tests/functional/cron --exit",
6767
"ft_test:interval": "mocha --recursive tests/functional/interval --exit",
6868
"ft_test:server": "mocha --recursive tests/functional/server --exit",
69-
"ft_test:v2": "mocha --recursive tests/functional/v2 --exit",
69+
"ft_test:v2": "mocha --recursive tests/functional/v2/server/testListMetrics.js --exit",
7070
"ft_test:softLimit": "mocha --recursive tests/functional/softLimit --exit",
7171
"ft_test:hardLimit": "mocha --recursive tests/functional/hardLimit --exit",
7272
"lint": "eslint $(git ls-files '*.js')",

tests/functional/v2/server/testListMetrics.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ describe('Test listMetric', function () {
148148
describe('test account credentials', () => {
149149
it('should list metrics for the same account', async () => {
150150
const resp = await listMetrics('accounts', [account.id], getTs(-500), getTs(0), account);
151+
//eslint-disable-next-line no-console
152+
console.log('HERE IS THE LOGS WE NEED TO DEBUG', resp.body);
151153
assert(Array.isArray(resp.body));
152154
const { body } = resp;
153155
assert.deepStrictEqual(body.map(r => r[metricResponseKeys.accounts]), [account.id]);

0 commit comments

Comments
 (0)