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.1.1 to 0.1.2

10

addon/tests/helpers/input.js

@@ -1,3 +0,1 @@

import Ember from "ember";
var assertElement = function(selector, type, count) {

@@ -51,3 +49,3 @@ var element = find(selector);

if (!text) {
Ember.assert("Text must be passed to the isTextButton assertion function");
ok(false, "Text must be passed to the isTextButton assertion function");
}

@@ -75,3 +73,3 @@

if (!text) {
Ember.assert("Text must be passed to the isLink assertion function");
ok(false, "Text must be passed to the isLink assertion function");
}

@@ -93,3 +91,3 @@

if (expected.length > 1) {
Ember.assert("Too many elements for selector " + selector + " found that were expected to have focus (" +
ok(false, "Too many elements for selector " + selector + " found that were expected to have focus (" +
expected.length + "); use a more specific selector");

@@ -100,3 +98,3 @@ return;

if (focused.length === 0) {
Ember.assert("Expected " + selector + " to have focus, but no element currently has focus");
ok(false, "Expected " + selector + " to have focus, but no element currently has focus");
} else {

@@ -103,0 +101,0 @@ if (focused.is(expected)) {

3

addon/tests/helpers/test-done.js

@@ -110,2 +110,5 @@ import Ember from "ember";

console.log(name + " data:");
if(typeof data === "string") {
data = JSON.parse(data);
}
for(var key in data) {

@@ -112,0 +115,0 @@ if(data.hasOwnProperty(key)) {

{
"name": "ember-cli-test-helpers",
"version": "0.1.1",
"version": "0.1.2",
"description": "A collection of test helpers for ember web applications",

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

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