Pogues icon indicating copy to clipboard operation
Pogues copied to clipboard

Unit tests fail when VTL editor is present

Open loichenninger opened this issue 3 years ago • 1 comments

We integrated the VTL editor from @eurostat/vtl-editor in the application.

Current behavior

The unit tests of components integrating the editor fail. The error is :

Automatic publicPath is not supported in this browser

      1 | /* eslint-disable no-console */
      2 | import React, { useState } from 'react';
    > 3 | import { AntlrEditor } from '@eurostat/vtl-editor';

Reproduce

Launch yarn test on dev-cra-VTL-editor-rebase branch.

loichenninger avatar Nov 09 '21 16:11 loichenninger

According to @NicoLaval it's linked to another issue we have with the VTL editor not properly displaying errors.

romaintailhurat avatar Nov 16 '21 08:11 romaintailhurat