/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

const path = require('path');

module.exports = {
  globalTeardown: '<rootDir>/teardown.js',
  projects: [
    {
      displayName: 'project-1',
      globalTeardown: '<rootDir>/teardown.js',
      rootDir: path.resolve(__dirname, './project-1'),
      testMatch: ['<rootDir>/**/*.test.js'],
      transformIgnorePatterns: ['/node_modules/', '/packages/'],
    },
    {
      displayName: 'project-2',
      globalTeardown: '<rootDir>/teardown.js',
      rootDir: path.resolve(__dirname, './project-2'),
      testMatch: ['<rootDir>/**/*.test.js'],
      transformIgnorePatterns: ['/node_modules/', '/packages/'],
    },
  ],
};
