Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Travis CI testing fails because of missing 'secrets.js' require in server/index.js #209

Description

@tiredamage42

When travis tries to test and deploy from the tracked repository, testing fails because we can't require secrets.js in server/index.js.

Workaround to check if not in testing environment in server/index.js:

/*
    config keys for development
*/
if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test')
    require('../secrets')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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