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

TypeError: helpers.run is not a function #174

Closed
helbing opened this issue Mar 11, 2023 · 0 comments
Closed

TypeError: helpers.run is not a function #174

helbing opened this issue Mar 11, 2023 · 0 comments

Comments

@helbing
Copy link

helbing commented Mar 11, 2023

When I use yeoman-test, it reports an error

TypeError: helpers.run is not a function

code

/* eslint-disable jest/expect-expect */
import path from "path"
import * as helpers from "yeoman-test"
import * as assert from "yeoman-assert"

describe("Test yeoman generator", () => {
  test("Expect generate success", async () => {
    const name = "test"

    helpers.run("")
  })
})

environments

  • os: macOS 13.2.1 (22D68)
  • nodejs: v18.15.0
  • yeoman-generator: ^5.8.0
  • yeoman-test: ^6.3.0
  • yeoman-assert: ^3.1.1
  • yeoman-environment: ^3.15.1
  • @types/yeoman-generator: ^5.2.11
  • @types/yeoman-test: ^4.0.3
  • @types/yeoman-assert: ^3.1.1
@helbing helbing closed this as completed Mar 11, 2023
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

1 participant