Skip to content

add a no-op optimization - #204

Merged
stefanpenner merged 2 commits into
emberjs:masterfrom
kellyselden:_shouldDoNothing
Feb 27, 2018
Merged

stefanpenner merged 2 commits into
emberjs:masterfrom
kellyselden:_shouldDoNothing

Conversation

@kellyselden

Copy link
Copy Markdown
Member

Closes #201

@stefanpenner

stefanpenner commented Feb 22, 2018 •

Copy link
Copy Markdown
Member

@kellyselden I like this, but can you add a quick unit test for that hook, ensuring that this works as expected (and continues to into the future)

@kellyselden

Copy link
Copy Markdown
Member Author

@stefanpenner added a test

@rwjblue rwjblue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, can you add a test that roughly does:

        subject = this.addon.transpileTree(input.path(), {
          'ember-cli-babel': {
            compileModules: false,
            disablePresetEnv: true,
            disableDebugTooling: true,
            disableEmberModulesAPIPolyfill: true
          }
        });

         expect(subject).to.equal(input.path());

@kellyselden

Copy link
Copy Markdown
Member Author

@rwjblue That's essentially what my test is. What would you like changed?

@stefanpenner
stefanpenner merged commit fd6c9a6 into emberjs:master Feb 27, 2018
@stefanpenner

Copy link
Copy Markdown
Member

released as v6.12.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants