Skip to content

Commit

Permalink
chore: Make sure copyright header comment includes license (#8783)
Browse files Browse the repository at this point in the history
* chore: Make sure copyright header comment includes license

* Add period at end of copyright line in checkCopyrightHeaders.js :)

* Update CHANGELOG.md
  • Loading branch information
pedrottimark authored and cpojer committed Aug 6, 2019
1 parent 2eea09f commit e740de2
Show file tree
Hide file tree
Showing 160 changed files with 985 additions and 323 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- `[docs]` Updated react tutorial to refer to new package of react-testing-library (@testing-library/react) ([#8753](https://github.com/facebook/jest/pull/8753))
- `[docs]` Updated imports of react-testing-library to @testing-library/react in website ([#8757](https://github.com/facebook/jest/pull/8757))
- `[jest-core]` Add `getVersion` (moved from `jest-cli`) ([#8706](https://github.com/facebook/jest/pull/8706))
- `[docs]` Fix MockFunctions example that was using toContain instead of toContainEqual ([#8765](https://github.com/facebook/jest/pull/8765))
- `[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))

### Performance

Expand Down
7 changes: 6 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

module.exports = {
babelrcRoots: ['examples/*'],
Expand Down
10 changes: 5 additions & 5 deletions e2e/__tests__/__snapshots__/beforeAllFiltered.ts.snap
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Correct BeforeAll run ensures the BeforeAll of ignored suite is not run 1`] = `
console.log __tests__/beforeAllFiltered.test.js:5
console.log __tests__/beforeAllFiltered.test.js:10
beforeAll 1
console.log __tests__/beforeAllFiltered.test.js:8
console.log __tests__/beforeAllFiltered.test.js:13
beforeEach 1
console.log __tests__/beforeAllFiltered.test.js:17
console.log __tests__/beforeAllFiltered.test.js:22
It Foo
console.log __tests__/beforeAllFiltered.test.js:11
console.log __tests__/beforeAllFiltered.test.js:16
afterEach 1
console.log __tests__/beforeAllFiltered.test.js:14
console.log __tests__/beforeAllFiltered.test.js:19
afterAll 1
`;
10 changes: 5 additions & 5 deletions e2e/__tests__/__snapshots__/beforeEachQueue.ts.snap
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Correct beforeEach order ensures the correct order for beforeEach 1`] = `
console.log __tests__/beforeEachQueue.test.js:5
console.log __tests__/beforeEachQueue.test.js:10
BeforeEach
console.log __tests__/beforeEachQueue.test.js:9
console.log __tests__/beforeEachQueue.test.js:14
It Foo
console.log __tests__/beforeEachQueue.test.js:12
console.log __tests__/beforeEachQueue.test.js:17
BeforeEach Inline Foo
console.log __tests__/beforeEachQueue.test.js:5
console.log __tests__/beforeEachQueue.test.js:10
BeforeEach
console.log __tests__/beforeEachQueue.test.js:17
console.log __tests__/beforeEachQueue.test.js:22
It Bar
`;
Loading

0 comments on commit e740de2

Please sign in to comment.