Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

common extension tests for an overlayed app extension

License

Notifications You must be signed in to change notification settings

overlayed-app/common-ext-tests

Repository files navigation

common-ext-tests

Build Status

Common extension tests for overlayed app extensions.

Why

There are some tests that all extensions should run to ensure that overlayed will be able to properly handle the extension. This module provides an easy way to include those tests in an extension project's jest tests.

How

npm i -D @overlayed-app/common-ext-tests

Then, in code (if js):

const includeCommonTests = require('@overlayed-app/common-ext-tests')

// include the common tests
includeCommonTests(`${__dirname}/fixture`)

or (if ts):

import includeCommonTests from '@overlayed-app/common-ext-tests'

// include the common tests
includeCommonTests(`${__dirname}/fixture`)

Contributing

  • To build npm run build.
  • To publish npm run publish.
  • To test npm test.

Authors

Ben Greenier - Initial work - bengreenier

License

Common-ext-tests is licensed under the MIT License - Click here for details