Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-test-helpers

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-test-helpers - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

tmp/.metadata_never_index

2

package.json
{
"name": "ember-cli-test-helpers",
"version": "0.6.0",
"version": "0.7.0",
"description": "A collection of test helpers for ember web applications",

@@ -5,0 +5,0 @@ "scripts": {

@@ -15,3 +15,3 @@ # ember-cli-test-helpers

## Example usage of helpers can be found in usage-test.js
## Build
```

@@ -23,2 +23,17 @@ $ npm install

## Usage
Example usage of helpers can be found in usage-test.js.
The wait for helper waits half a second by default, but you can configure this value.
```js
module.exports = function(/* environment, appConfig */) {
return {
APP: {
defaultWaitForTimeout: 1
}
};
};
```
## License

@@ -25,0 +40,0 @@

import Ember from "ember";
import QUnit from "qunit";
import config from '../../config/environment';
var DEFAULT_TIMEOUT = config.APP.defaultWaitForTimeout || 500;
var waitFor = function(callback, timeout) {
timeout = timeout || 500;
timeout = timeout || DEFAULT_TIMEOUT;
stop();

@@ -11,4 +14,4 @@ Ember.run.later(function(){

}, timeout);
}
};
export {waitFor};
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