Add option to jest to run tests only locally, or on linux (#2609)

Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2609

Make it possible to mark some tests to run on non-CI, or unix only

Reviewed By: nikoant

Differential Revision: D29813506

fbshipit-source-id: 140f8a4eaed5af3282ab9d139b46a52818be0934
This commit is contained in:
Michel Weststrate
2021-07-21 05:42:00 -07:00
committed by Facebook GitHub Bot
parent 3f7e3c0441
commit a78b6124d7
7 changed files with 65 additions and 8 deletions

View File

@@ -59,8 +59,7 @@ describe('sideeffect', () => {
console.error = origError;
});
// TODO(T93353978): Re-enable.
test.skip('can run a basic effect', async () => {
test.local('can run a basic effect', async () => {
unsubscribe = sideEffect(
store,
{name: 'test', throttleMs: 1},