From 124f4d3ddf74ac210d873f4abbc67e1d087f328e Mon Sep 17 00:00:00 2001 From: Matthew Griffith Date: Sun, 16 Aug 2020 17:23:16 -0400 Subject: [PATCH] update tests to new renames --- test/inlineWrappedFunctions.test.ts | 2 +- test/passUnwrappedFunctionsTransformer.test.ts | 4 ++-- test/removedUnusedLocals.test.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/inlineWrappedFunctions.test.ts b/test/inlineWrappedFunctions.test.ts index d554eac..f47fb6b 100644 --- a/test/inlineWrappedFunctions.test.ts +++ b/test/inlineWrappedFunctions.test.ts @@ -1,6 +1,6 @@ import ts from 'typescript'; -import { createFunctionInlineTransformer } from '../src/experiments/inlineWrappedFunctions'; +import { createFunctionInlineTransformer } from '../src/transforms/inlineWrappedFunctions'; test('it can process nested calls of A2 with non identifiers as the first arg ', () => { const initialCode = ` diff --git a/test/passUnwrappedFunctionsTransformer.test.ts b/test/passUnwrappedFunctionsTransformer.test.ts index ab8a3d4..e9a9314 100644 --- a/test/passUnwrappedFunctionsTransformer.test.ts +++ b/test/passUnwrappedFunctionsTransformer.test.ts @@ -1,6 +1,6 @@ import { transformCode } from './inlineWrappedFunctions.test'; -import { createPassUnwrappedFunctionsTransformer } from '../src/experiments/passUnwrappedFunctions'; -import { createInlineContext } from '../src/experiments/inlineWrappedFunctions'; +import { createPassUnwrappedFunctionsTransformer } from '../src/transforms/passUnwrappedFunctions'; +import { createInlineContext } from '../src/transforms/inlineWrappedFunctions'; test('it can unwrap lambdas in place ', () => { const initialCode = ` diff --git a/test/removedUnusedLocals.test.ts b/test/removedUnusedLocals.test.ts index d0307e4..55b240a 100644 --- a/test/removedUnusedLocals.test.ts +++ b/test/removedUnusedLocals.test.ts @@ -1,5 +1,5 @@ import ts from 'typescript'; -import { createRemoveUnusedLocalsTransform } from '../src/experiments/removeUnusedLocals'; +import { createRemoveUnusedLocalsTransform } from '../src/transforms/removeUnusedLocals'; test('it can process nested calls of A2 with non identifiers as the first arg ', () => { const initialCode = `