Skip to content

Ignore tests in lambda folder #99

@davesag

Description

@davesag

I'm just setting my lambda functions and have the following directory structure

src/
  lambda/
    hello.js
    hello.test.js

Which follows how the rest of the app gets tested.

Unfortunately this means running netlify-lambda build src/lambda results in my tests also being built and installed as if they are lambda functions.

Is there a way to exclude all *.test.js or *.spec.js files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy