Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests was failed #95

Closed
NewEXE opened this issue Nov 9, 2021 · 1 comment
Closed

Tests was failed #95

NewEXE opened this issue Nov 9, 2021 · 1 comment

Comments

@NewEXE
Copy link
Contributor

NewEXE commented Nov 9, 2021

Operating system: Windows 11 Pro 10.0.22000 (latest for now)
Version of the template: 13.1.0 (latest for now). Installed from "master" branch
NPM version: 8.1.0

First of all, thanks for probably the best electron boilerplate, and espessially for FAQ and novice's guide. Once maybe my prooject deserves a place in yourapps.md ;)

But regardlesss of aplication's successfully run (npm i && npm run dev), here is a problen on npm run test:

 $ npm run test

> secure-electron-template@14.0.0 test
> mocha

  Application launch
    1) "before each" hook for "shows an initial window"

  0 passing (10s)
  1 failing

  1) Application launch
       "before each" hook for "shows an initial window":
     Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (C:\Users\Vlad\Documents\Projects\secure-elec
tron-template\test\spec.js)
      at listOnTimeout (node:internal/timers:557:17)
      at processTimers (node:internal/timers:500:7)

What might be the problem? Tnanks.

It's seems like problems in my setup (or OS), but unfortunately Windows is fitst-target platform for my app, so I must use it

@reZach
Copy link
Owner

reZach commented Nov 11, 2021

Spectron is going to be deprecated, we'll move to another test framework. I'm going to close this as I won't support Spectron due to this. For the time being, you can un-comment out the test scenarios for your template.

@reZach reZach closed this as completed Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants