Skip to content

Commit e740de2

Browse files
pedrottimarkcpojer
authored andcommitted
chore: Make sure copyright header comment includes license (#8783)
* chore: Make sure copyright header comment includes license * Add period at end of copyright line in checkCopyrightHeaders.js :) * Update CHANGELOG.md
1 parent 2eea09f commit e740de2

File tree

160 files changed

+985
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+985
-323
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
- `[docs]` Updated react tutorial to refer to new package of react-testing-library (@testing-library/react) ([#8753](https://github.com/facebook/jest/pull/8753))
4747
- `[docs]` Updated imports of react-testing-library to @testing-library/react in website ([#8757](https://github.com/facebook/jest/pull/8757))
4848
- `[jest-core]` Add `getVersion` (moved from `jest-cli`) ([#8706](https://github.com/facebook/jest/pull/8706))
49-
- `[docs]` Fix MockFunctions example that was using toContain instead of toContainEqual ([#8765](https://github.com/facebook/jest/pull/8765))
49+
- `[docs]` Fix MockFunctions example that was using toContain instead of toContainEqual ([#8765](https://github.com/facebook/jest/pull/8765)) `[*]` Make sure copyright header comment includes license ([#8783](https://github.com/facebook/jest/pull/8783))
5050

5151
### Performance
5252

babel.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
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+
*/
27

38
module.exports = {
49
babelrcRoots: ['examples/*'],
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`Correct BeforeAll run ensures the BeforeAll of ignored suite is not run 1`] = `
4-
console.log __tests__/beforeAllFiltered.test.js:5
4+
console.log __tests__/beforeAllFiltered.test.js:10
55
beforeAll 1
66
7-
console.log __tests__/beforeAllFiltered.test.js:8
7+
console.log __tests__/beforeAllFiltered.test.js:13
88
beforeEach 1
99
10-
console.log __tests__/beforeAllFiltered.test.js:17
10+
console.log __tests__/beforeAllFiltered.test.js:22
1111
It Foo
1212
13-
console.log __tests__/beforeAllFiltered.test.js:11
13+
console.log __tests__/beforeAllFiltered.test.js:16
1414
afterEach 1
1515
16-
console.log __tests__/beforeAllFiltered.test.js:14
16+
console.log __tests__/beforeAllFiltered.test.js:19
1717
afterAll 1
1818
1919
`;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`Correct beforeEach order ensures the correct order for beforeEach 1`] = `
4-
console.log __tests__/beforeEachQueue.test.js:5
4+
console.log __tests__/beforeEachQueue.test.js:10
55
BeforeEach
66
7-
console.log __tests__/beforeEachQueue.test.js:9
7+
console.log __tests__/beforeEachQueue.test.js:14
88
It Foo
99
10-
console.log __tests__/beforeEachQueue.test.js:12
10+
console.log __tests__/beforeEachQueue.test.js:17
1111
BeforeEach Inline Foo
1212
13-
console.log __tests__/beforeEachQueue.test.js:5
13+
console.log __tests__/beforeEachQueue.test.js:10
1414
BeforeEach
1515
16-
console.log __tests__/beforeEachQueue.test.js:17
16+
console.log __tests__/beforeEachQueue.test.js:22
1717
It Bar
1818
1919
`;

0 commit comments

Comments
 (0)