diff --git a/lib/6to5/transform.js b/lib/6to5/transform.js index 517ef046c7..c5cb44a380 100644 --- a/lib/6to5/transform.js +++ b/lib/6to5/transform.js @@ -107,10 +107,10 @@ transform.transformers = { templateLiterals: require("./transformers/template-literals"), propertyMethodAssignment: require("./transformers/property-method-assignment"), defaultParameters: require("./transformers/default-parameters"), - destructuringAssignment: require("./transformers/destructuring-assignment"), + destructuring: require("./transformers/destructuring"), generators: require("./transformers/generators"), blockBinding: require("./transformers/block-binding"), modules: require("./transformers/modules"), restParameters: require("./transformers/rest-parameters"), - iterators: require("./transformers/iterators") + forOf: require("./transformers/for-of") }; diff --git a/lib/6to5/transformers/iterators.js b/lib/6to5/transformers/for-of.js similarity index 100% rename from lib/6to5/transformers/iterators.js rename to lib/6to5/transformers/for-of.js diff --git a/test/fixtures/iterators/for-of-let/actual.js b/test/fixtures/for-of/let/actual.js similarity index 100% rename from test/fixtures/iterators/for-of-let/actual.js rename to test/fixtures/for-of/let/actual.js diff --git a/test/fixtures/iterators/for-of-let/expected.js b/test/fixtures/for-of/let/expected.js similarity index 100% rename from test/fixtures/iterators/for-of-let/expected.js rename to test/fixtures/for-of/let/expected.js diff --git a/test/fixtures/iterators/for-of/actual.js b/test/fixtures/for-of/var/actual.js similarity index 100% rename from test/fixtures/iterators/for-of/actual.js rename to test/fixtures/for-of/var/actual.js diff --git a/test/fixtures/iterators/for-of/expected.js b/test/fixtures/for-of/var/expected.js similarity index 100% rename from test/fixtures/iterators/for-of/expected.js rename to test/fixtures/for-of/var/expected.js