Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

[Atom-1.28.0-beta1][OSX] Mocha tests fail in headless mode, but not in headed mode #17409

@lierdakil

Description

@lierdakil

Prerequisites

Description

I'm using https://github.com/BinaryMuse/atom-mocha-test-runner to run package specs, and I started noticing something weird recently.

The latest Atom beta (1.28.0-beta1) fails to run specs that require package activation on OSX.

The package is activated via await atom.packages.activatePackage(path.join(__dirname, '..')) (since atom-mocha-test-runner doesn't automatically load/activate the package in question). This works on Atom 1.27, and on Windows/Linux on 1.28.0-beta1, but for some reason not on OSX 1.28.0-beta1.

I've went out of my way to get access to an OSX machine, and apparently, specs run fine, more or less, from Atom via window:run-package-specs, but fail completely via atom-beta --test

Overall it appears as if the package fails to activate completely when specs are run with atom --test

Additional Information

Some build examples: https://travis-ci.org/atom-community/markdown-preview-plus/builds/384340951

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions