From e3da67fad9642fa2c6fd6dfb47b114b0d124c1c7 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Thu, 13 Jun 2019 22:16:40 +0200 Subject: [PATCH] chore: avoid template test case is being run --- .../{api.__test.template.spec.js => api.__test.template.js} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename test/unit/modules/utils/{api.__test.template.spec.js => api.__test.template.js} (97%) diff --git a/test/unit/modules/utils/api.__test.template.spec.js b/test/unit/modules/utils/api.__test.template.js similarity index 97% rename from test/unit/modules/utils/api.__test.template.spec.js rename to test/unit/modules/utils/api.__test.template.js index 51fed6ad5..7ff52f8c3 100644 --- a/test/unit/modules/utils/api.__test.template.spec.js +++ b/test/unit/modules/utils/api.__test.template.js @@ -37,7 +37,7 @@ describe('endpoint example unit test', () => { beforeAll(function(done) { // 1. We create a route for a custom storage folder for this test - const store = path.join(__dirname, '../partials/store/test-jwt-storage'); + const store = path.join(__dirname, '../../partials/store/test-template-storage'); // 2. The port must be unique (at this point this is not automated, need to be checked manually) const mockServerPort = 55546; // 3. Use rimraf to clean the state each time you run the test