Socket
Socket
Sign inDemoInstall

ember-cli-addon-tests

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-addon-tests - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

.travis.yml

2

lib/utilities/move-directory.js
var path = require('path');
var existsSync = require('exists-sync');
var debug = require('debug')('fastboot-test');
var debug = require('./debug');
var renameSync = require('fs-extra').renameSync;

@@ -5,0 +5,0 @@

@@ -125,5 +125,2 @@ "use strict";

// at this point we have all deps available, so we can run ember-cli
promise = promise.then(runAddonGenerator);
if (!hasNodeModules) {

@@ -137,3 +134,5 @@ promise = promise.then(movePristineNodeModules(appName));

return promise.then(linkDependencies(appName));
return promise.then(linkDependencies(appName))
// at this point we have all deps available, so we can run ember-cli
.then(runAddonGenerator);
}

@@ -303,3 +302,7 @@

debug('found addon package.json; path=%s', lastPath);
if (lastPath) {
debug('found addon package.json; path=%s', lastPath);
} else {
debug('couldn\'t find addon package.json');
}

@@ -340,2 +343,1 @@ return lastPath;

}
var symlinkOrCopySync = require('symlink-or-copy').sync;
var debug = require('debug')('fastboot-test');
var debug = require('./debug');
var path = require('path');

@@ -4,0 +4,0 @@

{
"name": "ember-cli-addon-tests",
"version": "0.4.1",
"version": "0.4.2",
"description": "A set of integration test helpers for Ember CLI addons",
"main": "lib/index.js",
"scripts": {
"test": "mocha"
"test": "mocha test/acceptance"
},

@@ -23,3 +23,6 @@ "repository": {

"devDependencies": {
"ember-cli": "^1.13.0"
"chai": "^3.5.0",
"ember-cli": "^1.13.0",
"mocha": "^3.1.2",
"request": "^2.75.0"
},

@@ -26,0 +29,0 @@ "dependencies": {

@@ -125,3 +125,3 @@ ## Ember CLI Addon Tests

For example, if you call `app.create('my-app')`, the test helper will
look for a file called `tests/fixtures/my-app` in your addon's directory
look for a file called `test/fixtures/my-app` in your addon's directory
and will copy them to the test app, overwriting any files that exist.

@@ -168,3 +168,3 @@

```
```js
// equivalent to `ember server --serve-assets`

@@ -171,0 +171,0 @@ app.startServer({

@@ -22,4 +22,5 @@ "use strict";

.then(function() {
moveDirectory(path.join(tmpDir, name, 'node_modules'), path.join(root, 'tmp', 'precooked_node_modules'));
symlinkDirectory(root, path.join(root, 'tmp', 'precooked_node_modules', 'ember-cli-fastboot'));
var precooked = path.join(root, 'tmp', 'precooked_node_modules');
moveDirectory(path.join(tmpDir, name, 'node_modules'), precooked);
symlinkDirectory(root, path.join(precooked, 'ember-cli-fastboot'));
})

@@ -26,0 +27,0 @@ .catch(function(e) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc