From 7437b9e5eb959ef467730ae90e323433d465b6d6 Mon Sep 17 00:00:00 2001 From: "s.teleshev" Date: Wed, 7 Feb 2024 17:37:41 +0100 Subject: [PATCH] CB-4633 adds licenses to unit tests --- .../src/__custom__mocks__/ErrorBoundaryMock.tsx | 7 +++++++ .../packages/core-blocks/src/importLazyComponent.test.tsx | 7 +++++++ webapp/packages/core-utils/src/OrderedMap.test.ts | 7 +++++++ webapp/packages/core-utils/src/blobToBase64.test.ts | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/webapp/packages/core-blocks/src/__custom__mocks__/ErrorBoundaryMock.tsx b/webapp/packages/core-blocks/src/__custom__mocks__/ErrorBoundaryMock.tsx index ddf2ab1059..a407952ccf 100644 --- a/webapp/packages/core-blocks/src/__custom__mocks__/ErrorBoundaryMock.tsx +++ b/webapp/packages/core-blocks/src/__custom__mocks__/ErrorBoundaryMock.tsx @@ -1,3 +1,10 @@ +/* + * CloudBeaver - Cloud Database Manager + * Copyright (C) 2020-2024 DBeaver Corp and others + * + * Licensed under the Apache License, Version 2.0. + * you may not use this file except in compliance with the License. + */ import React from 'react'; type Props = { diff --git a/webapp/packages/core-blocks/src/importLazyComponent.test.tsx b/webapp/packages/core-blocks/src/importLazyComponent.test.tsx index 8e35ed33e3..018dc0f8c1 100644 --- a/webapp/packages/core-blocks/src/importLazyComponent.test.tsx +++ b/webapp/packages/core-blocks/src/importLazyComponent.test.tsx @@ -1,3 +1,10 @@ +/* + * CloudBeaver - Cloud Database Manager + * Copyright (C) 2020-2024 DBeaver Corp and others + * + * Licensed under the Apache License, Version 2.0. + * you may not use this file except in compliance with the License. + */ import { render, screen, waitFor } from '@testing-library/react'; import React, { Suspense } from 'react'; diff --git a/webapp/packages/core-utils/src/OrderedMap.test.ts b/webapp/packages/core-utils/src/OrderedMap.test.ts index 32dfc12ee2..7f0a9e9b89 100644 --- a/webapp/packages/core-utils/src/OrderedMap.test.ts +++ b/webapp/packages/core-utils/src/OrderedMap.test.ts @@ -1,3 +1,10 @@ +/* + * CloudBeaver - Cloud Database Manager + * Copyright (C) 2020-2024 DBeaver Corp and others + * + * Licensed under the Apache License, Version 2.0. + * you may not use this file except in compliance with the License. + */ import { OrderedMap } from './OrderedMap'; describe('OrderedMap', () => { diff --git a/webapp/packages/core-utils/src/blobToBase64.test.ts b/webapp/packages/core-utils/src/blobToBase64.test.ts index ca3667c1dd..fe237f4196 100644 --- a/webapp/packages/core-utils/src/blobToBase64.test.ts +++ b/webapp/packages/core-utils/src/blobToBase64.test.ts @@ -1,3 +1,10 @@ +/* + * CloudBeaver - Cloud Database Manager + * Copyright (C) 2020-2024 DBeaver Corp and others + * + * Licensed under the Apache License, Version 2.0. + * you may not use this file except in compliance with the License. + */ import { blobToBase64 } from './blobToBase64'; describe('blobToBase64', () => {