Skip to content

Commit e87786b

Browse files
author
Kelly Selden
committed
add tests
1 parent b1eae88 commit e87786b

93 files changed

Lines changed: 7838 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
root = true
2+
3+
[*]
4+
trim_trailing_whitespace = true
5+
insert_final_newline = true
6+
indent_style = space
7+
indent_size = 2

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/test/fixtures/

.eslintrc.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = {
2+
root: true,
3+
parserOptions: {
4+
ecmaVersion: 2018
5+
},
6+
extends: 'sane-node',
7+
env: {
8+
es6: true
9+
},
10+
rules: {
11+
// https://github.com/mysticatea/eslint-plugin-node/issues/77,
12+
'node/no-unpublished-require': 'off'
13+
},
14+
overrides: [
15+
{
16+
files: 'test/tests.js',
17+
plugins: [
18+
'mocha'
19+
],
20+
extends: 'plugin:mocha/recommended',
21+
env: {
22+
mocha: true
23+
},
24+
rules: {
25+
'mocha/no-exclusive-tests': 'error'
26+
}
27+
}
28+
]
29+
};

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
!.vscode/
2+
/node_modules/

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,13 @@ branches:
88
cache:
99
directories:
1010
- "$HOME/.npm"
11+
env:
12+
global:
13+
- DEBUG=ember-cli-update,boilerplate-update,git-diff-apply,git-fixtures
14+
jobs:
15+
allow_failures:
16+
- os: osx
17+
include:
18+
- os: osx
19+
- script:
20+
- npm run lint

.vscode/launch.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
// Use IntelliSense to learn about possible Node.js debug attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Mocha Tests",
11+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
12+
"args": [
13+
"--timeout",
14+
"999999",
15+
"--colors",
16+
"test/tests.js",
17+
"-f",
18+
"ember-modules-codemod"
19+
],
20+
"env": {
21+
"DEBUG": "ember-cli-update,boilerplate-update,git-diff-apply,git-fixtures"
22+
},
23+
"console": "integratedTerminal"
24+
}
25+
]
26+
}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# ember-cli-update-codemods-manifest
22

3+
[![Build Status](https://travis-ci.com/ember-cli/ember-cli-update-codemods-manifest.svg?branch=v3)](https://travis-ci.com/ember-cli/ember-cli-update-codemods-manifest)
4+
[![Build status](https://ci.appveyor.com/api/projects/status/h4qxyasxo2nsrd10/branch/v3?svg=true)](https://ci.appveyor.com/project/embercli/ember-cli-update-codemods-manifest/branch/v3)
5+
36
Master list of codemods and their instructions used by [ember-cli-update](https://github.com/ember-cli/ember-cli-update)
47

58
Tips for changing this list:

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ branches:
99
# Fix line endings in Windows. (runs before repo cloning)
1010
init:
1111
- git config --global core.autocrlf true
12+
- set DEBUG=ember-cli-update,boilerplate-update,git-diff-apply,git-fixtures
1213

1314
# Install scripts. (runs after repo cloning)
1415
install:

0 commit comments

Comments
 (0)