Skip to content

ENOENT: no such file or directory, open '/builds/gitlab-org/gitlab/glfm_specification/example_snapshots/markdown.yml'

Example jobs

Output

FAIL spec/frontend/content_editor/markdown_snapshot_spec.js
  ● Test suite failed to run
    ENOENT: no such file or directory, open '/builds/gitlab-org/gitlab/glfm_specification/example_snapshots/markdown.yml'
      20 |
      21 | const loadExamples = (dir, fileName) => {
    > 22 |   const yaml = fs.readFileSync(path.join(dir, fileName));
         |                   ^
      23 |   const examples = jsYaml.safeLoad(yaml, {});
      24 |   return filterExamples(examples);
      25 | };
      at loadExamples (spec/frontend/content_editor/markdown_snapshot_spec_helper.js:22:19)
      at describeMarkdownSnapshots (spec/frontend/content_editor/markdown_snapshot_spec_helper.js:38:28)
      at Object.<anonymous> (spec/frontend/content_editor/markdown_snapshot_spec.js:10:1)