From 8373571a07c7492c4e996abe2ba0613b3742cfc6 Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Thu, 20 May 2021 09:50:42 -0400 Subject: [PATCH] [FIX] E2E Tests not working because of ES6 import (#3147) * Update ITeam.js * Minor tweak --- e2e/helpers/data_setup.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/e2e/helpers/data_setup.js b/e2e/helpers/data_setup.js index ce1d5083e..7e744f54a 100644 --- a/e2e/helpers/data_setup.js +++ b/e2e/helpers/data_setup.js @@ -1,6 +1,10 @@ const axios = require('axios').default; const data = require('../data'); -const { TEAM_TYPE } = require('../../app/definition/ITeam'); + +const TEAM_TYPE = { + PUBLIC: 0, + PRIVATE: 1 +}; let server = data.server