Thanks to visit codestin.com
Credit goes to github.com

Skip to content

'gopherjs test' always fails tests #624

Closed
@emidoots

Description

@emidoots

With a simple test like:

package example

import "testing"

func TestExample(t *testing.T) {

}

It will always fail when ran via gopherjs test:

gopherjs: Source maps disabled. Use Node.js 4.x with source-map-support module for nice stack traces.
PASS
fatal error: all goroutines are asleep - deadlock!
FAIL	github.com/gopherjs/vecty/example	0.344s

I'm wondering if this is a known issue / people are not using gopherjs test, or if it's potentially something configured incorrectly on my system.

  • Using gopherjs version 3496c6f
  • node --version reports v7.9.0 (the latest available via brew)

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