Skip to content

Commit

Permalink
remove comments, only
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjclark committed Apr 11, 2024
1 parent 7ddc5d8 commit f8d4ed9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/compiler/test/transform.test.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import test from 'ava';
import { builders as b } from 'ast-types';
// import { visit } from 'recast';
import { createMockLogger } from '@openfn/logger';

import transform, { TransformerName } from '../src/transform';

const logger = createMockLogger();

const TEST = 'test' as TransformerName;
const ENSURE_EXPORTS = 'ensure-exports' as TransformerName;

// TODO need to work out whether to migrate or move these tests!

test('transform will visit nodes once', (t) => {
let visitCount = 0;
const visitor = () => {
Expand Down Expand Up @@ -57,7 +51,7 @@ test('visit with mutiple transformes', (t) => {
t.is(idCount, 1);
});

test.only('run transformers in order', (t) => {
test('run transformers in order', (t) => {
const results: number[] = [];

const transformers = [
Expand Down

0 comments on commit f8d4ed9

Please sign in to comment.