Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Update to exclusively use Intern 4 #162

Merged
merged 4 commits into from
Oct 27, 2017

Conversation

bryanforbes
Copy link
Member

@bryanforbes bryanforbes commented Oct 20, 2017

Type: enhancement

The following has been addressed in the PR:

  • There is a related issue
  • All code matches the style guide
  • Unit or Functional tests are included in the PR

Description:

This PR updates the tasks to exclusively use Intern 4. The reporter has been converted to be loaded as an Intern 4 plugin. All PRs to convert projects to Intern 4 must be landed before this PR can be released in a new version.

Resolves #142

@@ -1,5 +1,6 @@
import * as registerSuite from 'intern!object';
import * as assert from 'intern/chai!assert';
const { registerSuite } = intern.getInterface('object');
Copy link
Contributor

Choose a reason for hiding this comment

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

I might be noobing out, but do we need this anymore? I thought the fixSourceMaps task was only because of intern 3.

Copy link
Member Author

Choose a reason for hiding this comment

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

You might be right. On these tasks, I did a 1:1 conversion without thinking if they needed removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

It turns out this task is to remove the path in the inline source maps rather than remapping the source maps, so it needs to stay

@codecov
Copy link

codecov bot commented Oct 23, 2017

Codecov Report

Merging #162 into master will decrease coverage by 23.45%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #162       +/-   ##
===========================================
- Coverage   93.01%   69.56%   -23.46%     
===========================================
  Files          16       27       +11     
  Lines         587      644       +57     
  Branches        0      102      +102     
===========================================
- Hits          546      448       -98     
- Misses         41      187      +146     
- Partials        0        9        +9
Impacted Files Coverage Δ
options/intern.ts 0% <ø> (ø)
lib/intern/Reporter.ts 0% <0%> (ø)
tasks/util/postcss.js
tasks/fixSourceMaps.js
tasks/installPeerDependencies.js
tasks/postcss.js
tasks/run.js
tasks/util/process.js
tasks/util/Publisher.js
lib/load-dojo-loader.js
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f57d0a...7361fe4. Read the comment docs.

"configs": {
"ci": {
"reporters": [
{ "name": "runner", "options": { "hidePassed": true, "hideSkipped": true } },
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to hideSkipped by default here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants