Skip to content

Commit

Permalink
test: include new files to test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
rackstar committed Nov 22, 2024
1 parent 6bb4330 commit 2a46e08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/mocks/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ require('dotenv').config();
const express = require('express');

const mockStore = require('./store');
const capacityRouter = require('../../src/routes/capacity');
const quoteRouter = require('../../src/routes/quote');
const { capacityRouter, quoteRouter, reindexRouter, pricingRouter } = require('../../src/routes');

const main = () => {
// state
Expand All @@ -26,6 +25,8 @@ const main = () => {
// initiate routes
app.use('/v2', capacityRouter);
app.use('/v2', quoteRouter);
app.use('/v2', reindexRouter);
app.use('/v2', pricingRouter);

return app;
};
Expand Down
1 change: 1 addition & 0 deletions test/unit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ describe('unit tests', function () {
require('./calculateOptimalPoolAllocation');
require('./cache');
require('./synchronizer');
require('./helpers');
});
1 change: 1 addition & 0 deletions test/unit/routes/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
describe('routes', function () {
require('./quote');
require('./capacity');
require('./pricing');
});

0 comments on commit 2a46e08

Please sign in to comment.