diff --git a/test/spec/i18n/translateSpec.js b/test/spec/i18n/translateSpec.js index 5955db94..346521e3 100644 --- a/test/spec/i18n/translateSpec.js +++ b/test/spec/i18n/translateSpec.js @@ -1,11 +1,9 @@ import { bootstrapModeler, + collectTranslations, inject } from 'test/TestHelper'; -// skipping this file during translation extraction -var skip = window.__env__ && window.__env__.TRANSLATIONS === 'enabled'; - import coreModule from 'lib/core'; import translateModule from 'diagram-js/lib/i18n/translate'; import customTranslateModule from './custom-translate'; @@ -16,8 +14,9 @@ import contextPadModule from 'lib/features/context-pad'; var diagramXML = require('test/fixtures/bpmn/simple.bpmn'); -skip ? describe.only : describe('i18n - translate', function() { +// skipping this file during translation extraction +collectTranslations ? describe.skip : describe('i18n - translate', function() { beforeEach(bootstrapModeler(diagramXML, { modules: [