mirror of
https://github.com/mdgriffith/elm-optimize-level-2.git
synced 2024-11-29 12:46:32 +03:00
update tests to new renames
This commit is contained in:
parent
8ba3c765e0
commit
124f4d3ddf
@ -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 = `
|
||||
|
@ -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 = `
|
||||
|
@ -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 = `
|
||||
|
Loading…
Reference in New Issue
Block a user