Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2020562

Browse files
committed
fix: add missing copyright headers to new test files
The CI check-copyright-headers step was failing because four new test files were missing the required Meta copyright header. https://claude.ai/code/session_01QZMfWaN6e1W1ExV78YLUrw
1 parent de23b06 commit 2020562

4 files changed

Lines changed: 28 additions & 0 deletions

File tree

e2e/__tests__/collectTests.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
import runJest from '../runJest';
29

310
describe('jest --collect-tests', () => {

packages/jest-circus/src/legacy-code-todo-rewrite/__tests__/collectTestsWithoutRunning.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
import {beforeEach, describe, expect, it, jest} from '@jest/globals';
29
import {makeProjectConfig} from '@jest/test-utils';
310
import type {Circus} from '@jest/types';

packages/jest-core/src/__tests__/printCollectedTestTree.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
import type {AssertionResult} from '@jest/test-result';
29
import {printCollectedTestTree} from '../runJest';
310

packages/jest-jasmine2/src/__tests__/collectSpecs.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
import {makeProjectConfig} from '@jest/test-utils';
29
import {
310
type SpecLike,

0 commit comments

Comments
 (0)