Skip to content

Instantly share code, notes, and snippets.

@ccoenen
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccoenen/e8e7873de5614b9a657b to your computer and use it in GitHub Desktop.
Save ccoenen/e8e7873de5614b9a657b to your computer and use it in GitHub Desktop.
Ember-CLI Windows NPM Test Log at adc7a431

based on adc7a431d8ead / 2014-09-01 16:05 UTC or 2014-09-01 12:05 -0400
Checked out with git confit core.autocrlf true
I hate this option, but otherwise i get LOTS of whitespace errors in all the generators.

Running in regular cmd.exe shell, but the exact same tests fail in the same way in git bash and powershell (visually confirmed with kdiff3 on logfiles written to disk).

error 1) ENOENT (comes from: tests/acceptance/help)

coming from the help-acceptance-test, which uses helpers/run-command, which uses child_process's spawn with these arguments:

0: "C:\Users\amenthes\workspace\ember-cli\bin\ember"
1: ["help", "generate"]

where the command itself is a javascript-file with #!/.. node stuff at the beginning.

i tested the following approach: i added a batchfile to the bin-directory, containing the following:

node %~dp0\ember %*

Breakdown:

  • node - well... node...
  • %~dp0 means: "the directory of the current command"
  • \ember adding the actual js to the path
  • %* means: pass along all the parameters given to you.

But then i have to explicitly call the .bat file, not the ember (JavaScript) file. I don't really have a solution for this one right now.

error 2) unit/models/addon

On windows, addon.includedModules returns full paths like this:

{
  'C:/Users/amenthes/workspace/ember-cli/tests/fixtures/addon/simple/node_modules/ember-generated-with-export-addon/addon/controllers/people': [ 'default' ],
  'C:/Users/amenthes/workspace/ember-cli/tests/fixtures/addon/simple/node_modules/ember-generated-with-export-addon/addon/mixins/thing': [ 'default' ]
}

This may be related to the fact, that this.root is a full path, itself. This seems to be set through the project model. The project's own path is set by process.cwd(). This is an absolute path on windows, i would need to see a unix-pendant of process.cwd() for comparison.

error 3) unit/models/blueprint

  1. the lines are split by EOL, but between the first and the second OVERWRITE line, there is no \r\n (windows EOL) but just \n

this is in output when the test fails:

[
  'installing',
  '[\u001b[32m?\u001b[39m] \u001b[31mOverwrite\u001b[39m C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6692-mycekvns4nk8kw8\\foo.txt? (Yndh) \n\u001b[80D\u001b[2K\u001b[1A\u001b[80D\u001b[2K\u001b[1A\u001b[80D\u001b[2K[\u001b[32m?\u001b[39m] \u001b[31mOverwrite\u001b[39m C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6692-mycekvns4nk8kw8\\foo.txt? \u001b[36mNo, skip\u001b[39m\n[\u001b[32m?\u001b[39m] \u001b[31mOverwrite\u001b[39m C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6692-mycekvns4nk8kw8\\test.txt? (Yndh) \n\u001b[80D\u001b[2K\u001b[1A\u001b[80D\u001b[2K\u001b[1A\u001b[80D\u001b[2K[\u001b[32m?\u001b[39m] \u001b[31mOverwrite\u001b[39m C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6692-mycekvns4nk8kw8\\test.txt? \u001b[36mYes, overwrite\u001b[39m\n  \u001b[33midentical\u001b[39m .ember-cli',
  '  \u001b[33midentical\u001b[39m .gitignore',
  '  \u001b[33mskip\u001b[39m foo.txt',
  '  \u001b[33moverwrite\u001b[39m test.txt'
]

error 4) unit/models/blueprint

Same as above, there is no \r\n between the two overwrite lines.

output contains:

[
  'installing',
  '[\u001b[32m?\u001b[39m] \u001b[31mOverwrite\u001b[39m C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6732-mycf2pllwj4s4g8\\test.txt? (Yndh) \n\u001b[80D\u001b[2K\u001b[1A\u001b[80D\u001b[2K\u001b[1A\u001b[80D\u001b[2K[\u001b[32m?\u001b[39m] \u001b[31mOverwrite\u001b[39m C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6732-mycf2pllwj4s4g8\\test.txt? \u001b[36mNo, skip\u001b[39m\n  \u001b[33midentical\u001b[39m .ember-cli',
  '  \u001b[33midentical\u001b[39m .gitignore',
  '  \u001b[33mskip\u001b[39m test.txt'
]

error 5) unit\models\file-info

whatever produces the output does not care for system EOL. The lines are just broken up by \n

output contains:

[
  'Index: C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-7152-mycf9vd887k880o\\outputfile\n==================================================================\n--- C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-7152-mycf9vd887k880o\\outputfile\n+++C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-7152-mycf9vd887k880o\\outputfile\n@@ -1,1 +1,1 @@\n+Howdy Billy',
  '\u001b[31m-Something Old',
  '\u001b[39m'
]

error 6) unit\tasks\server\livereload-server

livereload-server uses require('path'), more specifically its relative function, to calculate the relative path. But on windows, that will return backslashes instead of forward slashes, which is why the subject.project.liveReloadFilterPatterns = [/^test\/fixtures\/proxy/]; right here does not match.

subject.project.liveReloadFilterPatterns = [/^test\\fixtures\\proxy/];

will match, but will fail unixoid systems. The following should match on both windows and unixoids, but i can only test windows right now:

subject.project.liveReloadFilterPatterns = [/^test[\\/]fixtures[\\/]proxy/];

Patch in https://github.com/ccoenen/ember-cli/commit/c446bae812bfcaf307b9d0890aaaccd56588fc0d

> ember-cli@0.0.42 test C:\Users\amenthes\workspace\ember-cli
> node tests/runner
Acceptance: ember destroy
√ controller foo (622ms)
√ controller foo/bar (72ms)
√ component x-foo (52ms)
√ helper foo-bar (51ms)
√ helper foo/bar-baz (62ms)
√ model foo (47ms)
√ model foo/bar (45ms)
√ route foo (66ms)
√ route foo --type=resource (84ms)
√ route foos --type=resource (90ms)
√ route index (61ms)
√ route basic (76ms)
√ resource foo (138ms)
√ resource foos (98ms)
√ template foo (49ms)
√ template foo/bar (50ms)
√ view foo (91ms)
√ view foo/bar (106ms)
√ initializer foo (69ms)
√ initializer foo/bar (75ms)
√ mixin foo (67ms)
√ mixin foo/bar (64ms)
√ adapter foo (89ms)
√ adapter foo/bar (133ms)
√ serializer foo (90ms)
√ serializer foo/bar (99ms)
√ transform foo (72ms)
√ transform foo/bar (75ms)
√ util foo-bar (75ms)
√ util foo-bar/baz (73ms)
√ service foo (81ms)
√ service foo/bar (150ms)
√ blueprint foo (75ms)
√ blueprint foo/bar (74ms)
√ http-mock foo (77ms)
√ http-proxy foo (79ms)
√ acceptance-test foo (113ms)
√ deletes files generated using blueprints from the project directory (77ms)
√ correctly identifies the root of the project (80ms)
Acceptance: ember generate
√ controller foo (85ms)
√ controller foo --type=object (966ms)
√ controller foo --type=array (89ms)
√ controller foo/bar (77ms)
√ component x-foo (80ms)
√ helper foo-bar (76ms)
√ helper foo/bar-baz (80ms)
√ model foo (81ms)
√ model foo with attributes (83ms)
√ model foo/bar (376ms)
√ route foo (85ms)
√ route foo --type=resource (84ms)
√ route foos --type=resource (83ms)
√ route index (86ms)
√ route basic isn't added to router (86ms)
√ route bar does not create duplicates in router.js (148ms)
√ template foo (81ms)
√ template foo/bar (120ms)
√ view foo (121ms)
√ view foo/bar (86ms)
√ resource foo (104ms)
√ resource foos (106ms)
√ initializer foo (84ms)
√ initializer foo/bar (86ms)
√ mixin foo (96ms)
√ mixin foo/bar (93ms)
√ mixin foo/bar/baz (94ms)
√ adapter foo (96ms)
√ adapter foo/bar (94ms)
√ adapter extends from --base-class=bar (95ms)
√ adapter extends from --base-class=foo/bar (95ms)
√ adapter extends from application adapter if present (215ms)
√ adapter favors --base-class over application (192ms)
√ serializer foo (100ms)
√ serializer foo/bar (101ms)
√ transform foo (111ms)
√ transform foo/bar (103ms)
√ util foo-bar (103ms)
√ util foo-bar/baz (104ms)
√ service foo (107ms)
√ service foo/bar (107ms)
√ blueprint foo (102ms)
√ blueprint foo/bar (139ms)
√ http-mock foo (102ms)
√ http-mock foo-bar (137ms)
√ http-proxy foo (102ms)
√ uses blueprints from the project directory (105ms)
√ allows custom blueprints to override built-ins (103ms)
√ passes custom cli arguments to blueprint options (103ms)
√ acceptance-test foo (99ms)
√ correctly identifies the root of the project (102ms)
√ route foo --dry-run does not change router.js (387ms)
Acceptance: ember help
Running: C:\Users\amenthes\workspace\ember-cli\bin\ember help generate
1) generate
Acceptance: ember init
√ ember init
√ ember init can run in created folder (56ms)
√ init an already init'd folder (47ms)
Acceptance: ember new
√ ember new foo, where foo does not yet exist, works (193ms)
The `ember new` command requires a name to be specified. For more details, use `ember help`.
undefined
√ ember new with empty app name doesnt throw exception
The `ember new` command requires a name to be specified. For more details, use `ember help`.
undefined
√ ember new without app name doesnt throw exception
√ ember new with app name creates new directory and has a dasherized package name
√ Cannot run ember new, inside of ember-cli project
√ ember new with blueprint uses the specified blueprint directory
√ ember new without skip-git flag creates .git dir (247ms)
√ ember new with --dry-run does not create new directory
analytics
√ track gets invoked on command.validateAndRun()
blueprint - component
entityName
√ throws error when hyphen is not present
√ keeps existing behavior by calling Blueprint.normalizeEntityName
√ throws error when slash is found within component
broccoli/ember-app
addons
included hook
√ included hook is called properly on instantiation
√ does not throw an error if the addon does not implement `included`
addonTreesFor
√ addonTreesFor returns an empty array if no addons return a tree
√ addonTreesFor calls treesFor on the addon
√ addonTreesFor does not throw an error if treeFor is not defined
addonTreesFor is called properly
√ _processedVendorTree calls addonTreesFor
√ _processedAppTree calls addonTreesFor
√ styles calls addonTreesFor
toTree
√ calls postProcessTree if defined
√ calls addonPostprocessTree
Unit: CLI
√ exists
√ ember
√ ember --version
√ ember -v
√ ember <valid command>
- ember <valid command with args>
√ ember <invalid command>
help
√ ember --help
√ ember new --help
√ ember -h
√ ember new -h
server
√ expects version in UI output
√ ember server --port 9999
√ ember server --host localhost
√ ember server --port 9292 --host localhost
√ ember server --proxy http://localhost:3000/
√ ember server --watcher events
√ ember server --watcher polling
√ ember server
√ ember server --environment production
√ ember server --environment development
√ ember server --environment foo
√ ember server --environment development
√ ember server --environment foo
√ EMBER_ENV=production ember server
√ EMBER_ENV=development ember server
√ EMBER_ENV=foo ember server
√ expects version in UI output
√ ember s --port 9999
√ ember s --host localhost
√ ember s --port 9292 --host localhost
√ ember s --proxy http://localhost:3000/
√ ember s --watcher events
√ ember s --watcher polling
√ ember s
√ ember s --environment production
√ ember s --environment development
√ ember s --environment foo
√ ember s --environment development
√ ember s --environment foo
√ EMBER_ENV=production ember s
√ EMBER_ENV=development ember s
√ EMBER_ENV=foo ember s
generate
√ ember generate foo bar baz
√ ember g foo bar baz
init
√ ember init
√ ember init <app-name>
√ ember i
√ ember i <app-name>
new
√ ember new
√ ember new MyApp
update
√ ember update
build
√ ember build
√ ember build --watch
√ ember build --environment production
√ ember build --environment development
√ ember build --environment baz
√ EMBER_ENV=production ember build --environment development
√ EMBER_ENV=production ember build --environment baz
√ EMBER_ENV=production ember build
√ EMBER_ENV=development ember build
√ EMBER_ENV=baz ember build
default options config file
- reads default options from .ember-cli file
analytics tracking
- tracks the command that was run
- tracks given options as JSON string
Global command options
--verbose
option parsing
√ sets process.env.EMBER_VERBOSE_${NAME} for each space delimited option
√ ignores verbose options after --
√ ignores verbose options after -
cli/lookup-command.js
√ lookupCommand() should find commands by name and aliases.
√ lookupCommand() should find commands that addons add by name and aliases.
√ lookupCommand() should write out a warning when overriding a core command
√ lookupCommand() should return UnknownCommand object when command name is not present.
addon command
√ doesn't allow to create an addon named `test`
√ doesn't allow to create an addon named `ember`
√ doesn't allow to create an addon named `vendor`
√ doesn't allow to create an addon with a period in the name
√ doesn't allow to create an addon with a name beginning with a number
build command
√ Build task is provided with the project instance
√ BuildWatch task is provided with the project instance
generate command
√ runs DestroyFromBlueprint with expected options
√ complains if no entity name is given
√ complains if no blueprint name is given
generate command
√ runs GenerateFromBlueprint with expected options
√ complains if no blueprint name is given
help command
√ should generate complete help output, including aliases
√ should generate specific help output
√ should generate specific help output when given an alias
√ should generate "no help entry" message for non-existent commands
addon commands
√ should generate complete help output, including aliases
√ should generate specific help output
√ should generate specific help output when given an alias
init command
√ doesn't allow to create an application named `test`
√ Uses the name of the closest project to when calling installBlueprint
√ Uses the provided app name over the closest found project
√ Uses process.cwd if no package is found when calling installBlueprint
√ doesn't use --dry-run or any other command option as the name
√ doesn't use . as the name
√ Uses the "app" blueprint by default
√ Uses the "addon" blueprint for addons
new command
√ doesn't allow to create an application named `test`
√ doesn't allow to create an application named `ember`
√ doesn't allow to create an application named `vendor`
√ doesn't allow to create an application with a period in the name
√ doesn't allow to create an application with a name beginning with a number
server command
√ has correct options
√ has correct liveLoadPort
√ has correct proxy
test command
√ builds and runs test
√ has the correct options
√ passes through custom configFile option
√ passes through custom port option
update command
√ says 'you have the latest version' if no update is needed
√ calls UpdateTask if an update is needed
version command
√ reports node and npm versions
√ supports a --verbose flag
SilentError
√ should suppress the stack trace by default
with EMBER_VERBOSE_ERRORS set
√ should suppress stack when true
√ shouldn't suppress stack when false
jshint
√ should pass for tests (1077ms)
√ should pass for lib (756ms)
√ should pass for bin
√ should pass for blueprints
√ should pass for fixtures
models/addon.js
resolvePath
√ adds .js if not present
√ doesn't add .js if it is .js
√ doesn't add .js if it has another extension
initialized addon
√ must define a `name` property
generated addon no-export
√ sets it's project
√ sets the root
trees for it's treePaths
√ app
√ styles
√ templates
√ vendor
generated addon with-export
√ sets it's project
√ sets the app if included
2) generates a list of es6 modules to ignore
√ sets the root
trees for it's treePaths
√ app
√ styles
√ templates
√ vendor
√ addon
isDevelopingAddon
√ returns true when `EMBER_ADDON_ENV` is set to development
√ returns false when `EMBER_ADDON_ENV` is not set
√ returns false when `EMBER_ADDON_ENV` is something other than `development`
treeGenerator
√ watch tree when developing the addon itself
√ uses unwatchedTree when not developing the addon itself
Blueprint
√ exists
√ derives name from path
.mapFile
√ replaces all occurences of __name__ with module name
.lookup
√ uses an explicit path if one is given
√ finds blueprints within given lookup paths
√ finds blueprints in the ember-cli package
√ can instantiate a blueprint that exports an object instead of a constructor
√ throws an error if no blueprint is found
.list
√ returns a list of blueprints grouped by lookup path
basic blueprint installation
√ installs basic files
√ re-installing identical files
[?25h[?25h
3) re-installing conflicting files
√ throws error when there is a trailing forward slash in entityName
√ throws error when an entityName is not provided
√ calls normalizeEntityName hook during install
√ normalizeEntityName hook can modify the entity name
√ calls normalizeEntityName before locals hook is called
called on an existing project
[?25h
4) ignores files in ignoredUpdateFiles
addPackageToProject
√ calls _exec with the proper command when no version is supplied
√ calls _exec with the proper command when a version is supplied
√ writes information to the ui log
√ does not error if ui is not present
addBowerPackageToProject
√ looks up the `bower-install` task
√ calls the task with the package name
√ uses the provided target (version, range, sha, etc)
√ uses uses verbose mode with the task
models/builder.js
√ clears the outputPath when multiple files are present
Prevent deletion of files for improper outputPath
√ when outputPath is root directory ie., `--output-path=/`
√ when outputPath is project root ie., `--output-path=.`
√ when outputPath is a parent directory ie., `--output-path=../../`
addons
√ allows addons to add promises postbuild
models/command.js
√ parseArgs() should parse the command options.
√ parseArgs() should get command options from the config file and command line
√ parseArgs() should set default option values.
√ parseArgs() should return args too.
√ validateAndRun() should print a message if a required option is missing.
√ validateAndRun() should print a message if outside a project and command is not valid there.
√ validateAndRun() should print a message if inside a project and command is not valid there.
Unit - FileInfo
√ can instantiate with options
√ renders an input file
√ does not explode when trying to template binary files
5) renders a diff to the UI
[?25h
√ renders a menu with an overwrite option
[?25h
√ renders a menu with an skip option
[?25h
√ renders a menu with an diff option
models/project.js
Project.prototype.config default
√ config() finds and requires config/environment
Project.prototype.config custom config path from addon
√ config() finds and requires tests/dummy/config/environment
addons
√ returns a listing of all dependencies in the projects package.json
√ returns a listing of all ember-cli-addons
√ returns an instance of the addon
√ addons get passed the project instance
√ returns an instance of an addon that uses `ember-addon-main`
√ returns the default blueprints path
√ returns a listing of all addon blueprints paths
√ returns a listing of all blueprints paths
√ returns an empty list of blueprint paths if outside a project
√ returns an instance of an addon with an object export
√ returns an instance of a generated addon with no export
emberCLIVersion
√ should return the same value as the utlity function
isEmberCLIAddon
√ should return true if `ember-addon` is included in keywords
√ should return false if `ember-addon` is not included in keywords
Update Checker
√ returns { updatedNeeded: false } if no update is needed
√ says 'A new version of ember-cli is available' if an update is needed
√ should not check if last check was less than a day ago
√ should save version information in configstore if checking with npm
Watcher
watcher strategy selection
√ selects the events-based watcher by default
√ selects the events-based watcher when given events watcher option
√ selects the polling watcher when given polling watcher option
watcher:change
√ tracks events
√ tracks timings
√ logs that the build was successful
watcher:error
√ tracks errors
watcher:change afterError
√ log that the build was green
√ keep tracking analytics
dependencies
in package.json
√ are locked down for pre-1.0 versions
in blueprints/app/files/package.json
√ are locked down for pre-1.0 versions
in blueprints/addon/files/package.json
√ are locked down for pre-1.0 versions
Plugin Loader
√ returns first plugin when only one
√ returns the correct plugin when there are more than one
√ returns plugin of the correct type
√ returns plugin that was in dependencies
√ returns null when no plugin available for type
√ returns the configured extension for the plugin
√ can specify fallback extensions
√ provides the application name to each plugin
√ adds a plugin directly if it is provided
Style Plugin
constructor
√ sets type
√ sets name
√ sets ext
√ sets options
√ sets registry
√ sets applicationName
.ember-cli
√ local settings take precendence over global settings
express-server
output
√ with proxy (163ms)
√ without proxy
√ address in use
behaviour
with proxy
√ bypasses proxy for /
√ bypasses proxy for files that exist
GET /api/get 200 3.282 ms - -
√ proxies GET
PUT /api/put 200 1.420 ms - -
√ proxies PUT
POST /api/post 200 1.193 ms - -
√ proxies POST
DELETE /api/delete 200 1.163 ms - -
√ proxies DELETE
GET /api/get 200 1.125 ms - -
√ proxies when accept contains */*
without proxy
√ serves index.html when file not found with auto/history location
√ serves index.html for mime of */* when file not found with auto/history location
√ serves index.html when file not found (with baseURL) with auto/history location
√ returns a 404 when file not found with hash location
√ files that exist in broccoli directory are served up
√ serves static asset up from build output without a period in name
√ serves static asset up from build output without a period in name (with baseURL)
addons
√ calls processAddonMiddlewares upon start
√ calls serverMiddleware on the addons
app middleware
√ calls processAppMiddlewares upon start
livereload-server
output
√ correctly indicates which port livereload is present on
√ informs of error during startup
filter pattern
√ triggers the liverreload server of a change when no pattern matches
6) does not trigger livereoad server of a change when there is a pattern match
test
√ transforms the options and invokes testem properly (142ms)
update task
don't update
√ says 'a new version is available' and asks you to confirm you want to update
do update
√ says 'a new version is available' and asks you to confirm you want to update
√ updates package.json file with newly updated version number
cleanBaseURL()
√ should transfrom baseURL correctly
376 passing (16s)
4 pending
6 failing
1) Acceptance: ember help generate:
Uncaught Error: spawn ENOENT
at errnoException (child_process.js:998:11)
at Process.ChildProcess._handle.onexit (child_process.js:789:34)
2) models/addon.js initialized addon generated addon with-export generates a list of es6 modules to ignore:
AssertionError: {"C:/Users/amenthes/workspace/ember-cli/tests/fixtures/addon/simple/node_modules/ember-generated-with-export-addon/addon/control deepEqual {"ember-cli-generated-with-export/controllers/people":["default"],"ember-cli-generated-with-export/mixins/thing":["default"]}
at Context.<anonymous> (C:\Users\amenthes\workspace\ember-cli\tests\unit\models\addon-test.js:102:16)
at callFn (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runnable.js:249:21)
at Test.Runnable.run (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runnable.js:242:7)
at Runner.runTest (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:373:10)
at C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:451:12
at next (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:298:14)
at C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:308:7
at next (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:246:23)
at Object._onImmediate (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:275:5)
at processImmediate [as _immediateCallback] (timers.js:336:15)
3) Blueprint basic blueprint installation re-installing conflicting files:
AssertionError: expected: identical .gitignore to match /Overwrite.*foo.*No, skip/
at Function.assert.match (C:\Users\amenthes\workspace\ember-cli\tests\unit\models\blueprint-test.js:33:3)
at C:\Users\amenthes\workspace\ember-cli\tests\unit\models\blueprint-test.js:237:18
at $$$internal$$tryCatch (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:470:16)
at $$$internal$$invokeCallback (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:482:17)
at $$$internal$$publish (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:453:11)
at $$rsvp$asap$$flush (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:1531:9)
at process._tickCallback (node.js:419:13)
4) Blueprint basic blueprint installation called on an existing project ignores files in ignoredUpdateFiles:
AssertionError: expected: identical .gitignore to match /Overwrite.*test.*No, skip/
at Function.assert.match (C:\Users\amenthes\workspace\ember-cli\tests\unit\models\blueprint-test.js:33:3)
at C:\Users\amenthes\workspace\ember-cli\tests\unit\models\blueprint-test.js:287:20
at $$$internal$$tryCatch (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:470:16)
at $$$internal$$invokeCallback (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:482:17)
at $$$internal$$publish (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:453:11)
at $$rsvp$asap$$flush (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:1531:9)
at process._tickCallback (node.js:419:13)
5) Unit - FileInfo renders a diff to the UI:
AssertionError: expected 'Index: C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6760-mycbsrai0z4ss04\\outputfile\n===================================================================\n--- C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6760-mycbsrai0z4ss04\\outputfile\n+++ C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6760-mycbsrai0z4ss04\\outputfile\n@@ -1,1 +1,1 @@\n+Howdy Billy' to equal 'Index: C:\\Users\\amenthes\\workspace\\ember-cli\\tmp\\tmp-6760-mycbsrai0z4ss04\\outputfile'
+ expected - actual
+Index: C:\Users\amenthes\workspace\ember-cli\tmp\tmp-6760-mycbsrai0z4ss04\outputfile
-Index: C:\Users\amenthes\workspace\ember-cli\tmp\tmp-6760-mycbsrai0z4ss04\outputfile
-===================================================================
---- C:\Users\amenthes\workspace\ember-cli\tmp\tmp-6760-mycbsrai0z4ss04\outputfile
-+++ C:\Users\amenthes\workspace\ember-cli\tmp\tmp-6760-mycbsrai0z4ss04\outputfile
-@@ -1,1 +1,1 @@
-+Howdy Billy
at C:\Users\amenthes\workspace\ember-cli\tests\unit\models\file-info-test.js:77:14
at $$$internal$$tryCatch (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:470:16)
at $$$internal$$invokeCallback (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:482:17)
at $$$internal$$publish (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:453:11)
at $$rsvp$asap$$flush (C:\Users\amenthes\workspace\ember-cli\node_modules\rsvp\dist\rsvp.js:1531:9)
at process._tickCallback (node.js:419:13)
6) livereload-server filter pattern does not trigger livereoad server of a change when there is a pattern match:
AssertionError: expected 1 to equal 0
at Context.<anonymous> (C:\Users\amenthes\workspace\ember-cli\tests\unit\tasks\server\livereload-server-test.js:103:14)
at callFn (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runnable.js:249:21)
at Test.Runnable.run (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runnable.js:242:7)
at Runner.runTest (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:373:10)
at C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:451:12
at next (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:298:14)
at C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:308:7
at next (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:246:23)
at C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runner.js:270:7
at done (C:\Users\amenthes\workspace\ember-cli\node_modules\mocha\lib\runnable.js:205:5)
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment