Skip to content

Commit

Permalink
style: add copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Nov 3, 2023
1 parent d2ebca4 commit 9dd6e67
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* 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.
*/

import {withoutCircularRefs} from '../withoutCircularRefs';

it('test simple values', () => {
Expand Down
7 changes: 7 additions & 0 deletions packages/jest-worker/src/workers/withoutCircularRefs.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* 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.
*/

export function withoutCircularRefs(obj: unknown): unknown {
const cache = new WeakSet();
function copy(obj: unknown) {
Expand Down

0 comments on commit 9dd6e67

Please sign in to comment.