From be555ae8b8892209f31d51ebd5bf05a213a51ec6 Mon Sep 17 00:00:00 2001 From: Himanshu Mishra Date: Fri, 11 Dec 2020 10:28:08 +0100 Subject: [PATCH] techdocs-common: Remove unnecessary mock module for klaw --- packages/techdocs-common/__mocks__/klaw.ts | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 packages/techdocs-common/__mocks__/klaw.ts diff --git a/packages/techdocs-common/__mocks__/klaw.ts b/packages/techdocs-common/__mocks__/klaw.ts deleted file mode 100644 index ce2ce90a5f..0000000000 --- a/packages/techdocs-common/__mocks__/klaw.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 2020 Spotify AB - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { EventEmitter } from 'events'; - -const walk = () => { - const emitter = new EventEmitter(); - setTimeout(() => { - emitter.emit('end'); - }, 10); - return emitter; -}; - -export default walk;