New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-testing

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-testing - npm Package Compare versions

Comparing version 0.4.2 to 0.5.0

doc/article/en-US/end-to-end-testing.md

2

bower.json
{
"name": "aurelia-testing",
"version": "0.4.2",
"version": "0.5.0",
"description": "A collection of helpers for testing Aurelia apps and components.",

@@ -5,0 +5,0 @@ "keywords": [

var gulp = require('gulp');
var runSequence = require('run-sequence');
var paths = require('../paths');
var changelog = require('conventional-changelog');
var fs = require('fs');
var bump = require('gulp-bump');
var args = require('../args');
var conventionalChangelog = require('gulp-conventional-changelog');
gulp.task('changelog', function () {
return gulp.src(paths.doc + '/CHANGELOG.md', {
buffer: false
}).pipe(conventionalChangelog({
preset: 'angular'
}))
.pipe(gulp.dest(paths.doc));
});
gulp.task('bump-version', function(){

@@ -15,14 +24,2 @@ return gulp.src(['./package.json', './bower.json'])

gulp.task('changelog', function(callback) {
var pkg = JSON.parse(fs.readFileSync('./package.json', 'utf-8'));
return changelog({
repository: pkg.repository.url,
version: pkg.version,
file: paths.doc + '/CHANGELOG.md'
}, function(err, log) {
fs.writeFileSync(paths.doc + '/CHANGELOG.md', log);
});
});
gulp.task('prepare-release', function(callback){

@@ -29,0 +26,0 @@ return runSequence(

@@ -1,2 +0,2 @@

define(['exports', 'aurelia-bootstrapper', 'aurelia-templating', 'aurelia-framework'], function (exports, _aureliaBootstrapper, _aureliaTemplating, _aureliaFramework) {
define(['exports', 'aurelia-templating', 'aurelia-framework'], function (exports, _aureliaTemplating, _aureliaFramework) {
'use strict';

@@ -52,6 +52,6 @@

ComponentTester.prototype.create = function create() {
ComponentTester.prototype.create = function create(bootstrap) {
var _this = this;
return (0, _aureliaBootstrapper.bootstrap)(function (aurelia) {
return bootstrap(function (aurelia) {
return Promise.resolve(_this.configure(aurelia)).then(function () {

@@ -58,0 +58,0 @@ if (_this._resources) {

import * as LogManager from 'aurelia-logging';
import {
bootstrap
} from 'aurelia-bootstrapper';
import {
View,

@@ -37,3 +34,3 @@ customAttribute,

manuallyHandleLifecycle(): ComponentTester;
create(): Promise<void>;
create(bootstrap: ((aurelia: Aurelia) => Promise<void>)): Promise<void>;
_prepareLifecycle(): any;

@@ -40,0 +37,0 @@ }

import * as LogManager from 'aurelia-logging';
import {bootstrap} from 'aurelia-bootstrapper';
import {View,customAttribute,TargetInstruction} from 'aurelia-templating';

@@ -51,3 +50,3 @@ import {Aurelia} from 'aurelia-framework';

create(): Promise<void> {
create(bootstrap: (aurelia: Aurelia) => Promise<void>): Promise<void> {
return bootstrap(aurelia => {

@@ -54,0 +53,0 @@ return Promise.resolve(this.configure(aurelia)).then(() => {

@@ -8,4 +8,2 @@ 'use strict';

var _aureliaBootstrapper = require('aurelia-bootstrapper');
var _aureliaTemplating = require('aurelia-templating');

@@ -58,6 +56,6 @@

ComponentTester.prototype.create = function create() {
ComponentTester.prototype.create = function create(bootstrap) {
var _this = this;
return (0, _aureliaBootstrapper.bootstrap)(function (aurelia) {
return bootstrap(function (aurelia) {
return Promise.resolve(_this.configure(aurelia)).then(function () {

@@ -64,0 +62,0 @@ if (_this._resources) {

@@ -1,2 +0,1 @@

import { bootstrap } from 'aurelia-bootstrapper';
import { View } from 'aurelia-templating';

@@ -42,3 +41,3 @@ import { Aurelia } from 'aurelia-framework';

create() {
create(bootstrap) {
return bootstrap(aurelia => {

@@ -45,0 +44,0 @@ return Promise.resolve(this.configure(aurelia)).then(() => {

import { bootstrap } from 'aurelia-bootstrapper';
import { View } from 'aurelia-templating';

@@ -48,3 +47,3 @@ import { Aurelia } from 'aurelia-framework';

ComponentTester.prototype.create = function create() {
ComponentTester.prototype.create = function create(bootstrap) {
var _this = this;

@@ -51,0 +50,0 @@

'use strict';
System.register(['aurelia-bootstrapper', 'aurelia-templating', 'aurelia-framework'], function (_export, _context) {
System.register(['aurelia-templating', 'aurelia-framework'], function (_export, _context) {
"use strict";
var bootstrap, View, Aurelia, StageComponent, ComponentTester;
var View, Aurelia, StageComponent, ComponentTester;

@@ -11,5 +11,3 @@

return {
setters: [function (_aureliaBootstrapper) {
bootstrap = _aureliaBootstrapper.bootstrap;
}, function (_aureliaTemplating) {
setters: [function (_aureliaTemplating) {
View = _aureliaTemplating.View;

@@ -63,3 +61,3 @@ }, function (_aureliaFramework) {

ComponentTester.prototype.create = function create() {
ComponentTester.prototype.create = function create(bootstrap) {
var _this = this;

@@ -66,0 +64,0 @@

@@ -14,4 +14,2 @@ 'use strict';

var _aureliaBootstrapper = require('aurelia-bootstrapper');
var _aureliaTemplating = require('aurelia-templating');

@@ -70,6 +68,6 @@

ComponentTester.prototype.create = function create() {
ComponentTester.prototype.create = function create(bootstrap) {
var _this = this;
return (0, _aureliaBootstrapper.bootstrap)(function (aurelia) {
return bootstrap(function (aurelia) {
return Promise.resolve(_this.configure(aurelia)).then(function () {

@@ -76,0 +74,0 @@ if (_this._resources) {

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

{"name":"aurelia-testing","children":[{"id":63,"name":"CompileSpy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Attribute to be placed on any element to have it emit the View Compiler's\nTargetInstruction into the debug console, giving you insight into all the\nparsed bindings, behaviors and event handers for the targeted element."},"children":[{"id":64,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates and instanse of CompileSpy."},"signatures":[{"id":65,"name":"new CompileSpy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates and instanse of CompileSpy."},"parameters":[{"id":66,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"target element on where attribute is placed on."},"type":{"type":"instrinct","name":"any"}},{"id":67,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"instructions for how the target element should be enhanced.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompileSpy","id":63}}]}],"groups":[{"title":"Constructors","kind":512,"children":[64]}]},{"id":2,"name":"ComponentTester","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":21,"name":"_bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":19,"name":"_html","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":20,"name":"_resources","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","isArray":true,"name":"string"}]}},{"id":22,"name":"_rootView","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"View"}},{"id":7,"name":"attached","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":8,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":9,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}]}}},{"id":3,"name":"bind","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":4,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":5,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":6,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":18,"name":"configure","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":13,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":14,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":15,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}}]}}},{"id":16,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":10,"name":"unbind","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":11,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":12,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}]}}},{"id":17,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":42,"name":"_prepareLifecycle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":43,"name":"_prepareLifecycle","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":23,"name":"bootstrap","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":24,"name":"bootstrap","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":25,"name":"configure","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":26,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":27,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":28,"name":"aurelia","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Aurelia"}}],"type":{"type":"instrinct","name":"void"}}]}}}],"type":{"type":"instrinct","name":"any"}}]},{"id":35,"name":"boundTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":36,"name":"boundTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":37,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"ComponentTester","id":2}}]},{"id":40,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":41,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}]},{"id":32,"name":"inView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":33,"name":"inView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":34,"name":"html","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ComponentTester","id":2}}]},{"id":38,"name":"manuallyHandleLifecycle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":39,"name":"manuallyHandleLifecycle","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"ComponentTester","id":2}}]},{"id":29,"name":"withResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":30,"name":"withResources","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":31,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","isArray":true,"name":"string"}]}}],"type":{"type":"reference","name":"ComponentTester","id":2}}]}],"groups":[{"title":"Properties","kind":1024,"children":[21,19,20,22,7,3,18,13,16,10,17]},{"title":"Methods","kind":2048,"children":[42,23,35,40,32,38,29]}]},{"id":44,"name":"ViewSpy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Attribute to be placed on any HTML element in a view to emit the View instance\nto the debug console, giving you insight into the live View instance, including\nall child views, live bindings, behaviors and more."},"children":[{"id":45,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a new instance of ViewSpy."},"signatures":[{"id":46,"name":"new ViewSpy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a new instance of ViewSpy."},"type":{"type":"reference","name":"ViewSpy","id":44}}]},{"id":47,"name":"_log","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":48,"name":"_log","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":49,"name":"lifecycleName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":50,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":57,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":58,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target element is attached to the DOM."},"type":{"type":"instrinct","name":"any"}}]},{"id":54,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":55,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target view is bound."},"parameters":[{"id":56,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The target view's binding context.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":51,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":52,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target view is created."},"parameters":[{"id":53,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The target view.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":59,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":60,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target element is detached from the DOM."},"type":{"type":"instrinct","name":"any"}}]},{"id":61,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":62,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target element is unbound."},"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[45]},{"title":"Methods","kind":2048,"children":[47,57,54,51,59,61]}]},{"id":68,"name":"StageComponent","kind":32,"kindString":"Variable","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}}],"groups":[{"title":"Classes","kind":128,"children":[63,2,44]},{"title":"Variables","kind":32,"children":[68]}]}
{"name":"aurelia-testing","children":[{"id":67,"name":"CompileSpy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Attribute to be placed on any element to have it emit the View Compiler's\nTargetInstruction into the debug console, giving you insight into all the\nparsed bindings, behaviors and event handers for the targeted element."},"children":[{"id":68,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates and instanse of CompileSpy."},"signatures":[{"id":69,"name":"new CompileSpy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates and instanse of CompileSpy."},"parameters":[{"id":70,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"target element on where attribute is placed on."},"type":{"type":"instrinct","name":"any"}},{"id":71,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"instructions for how the target element should be enhanced.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompileSpy","id":67}}]}],"groups":[{"title":"Constructors","kind":512,"children":[68]}]},{"id":2,"name":"ComponentTester","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":21,"name":"_bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":19,"name":"_html","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":20,"name":"_resources","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","isArray":true,"name":"string"}]}},{"id":22,"name":"_rootView","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"View"}},{"id":7,"name":"attached","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":8,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":9,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}]}}},{"id":3,"name":"bind","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":4,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":5,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":6,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":18,"name":"configure","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":13,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":14,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":15,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}}]}}},{"id":16,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":10,"name":"unbind","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":11,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":12,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}]}}},{"id":17,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":46,"name":"_prepareLifecycle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":47,"name":"_prepareLifecycle","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":23,"name":"bootstrap","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":24,"name":"bootstrap","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":25,"name":"configure","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":26,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":27,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":28,"name":"aurelia","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Aurelia"}}],"type":{"type":"instrinct","name":"void"}}]}}}],"type":{"type":"instrinct","name":"any"}}]},{"id":35,"name":"boundTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":36,"name":"boundTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":37,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"ComponentTester","id":2}}]},{"id":40,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":41,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":42,"name":"bootstrap","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":43,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":44,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":45,"name":"aurelia","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Aurelia"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}]}}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}]},{"id":32,"name":"inView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":33,"name":"inView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":34,"name":"html","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ComponentTester","id":2}}]},{"id":38,"name":"manuallyHandleLifecycle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":39,"name":"manuallyHandleLifecycle","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"ComponentTester","id":2}}]},{"id":29,"name":"withResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":30,"name":"withResources","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":31,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","isArray":true,"name":"string"}]}}],"type":{"type":"reference","name":"ComponentTester","id":2}}]}],"groups":[{"title":"Properties","kind":1024,"children":[21,19,20,22,7,3,18,13,16,10,17]},{"title":"Methods","kind":2048,"children":[46,23,35,40,32,38,29]}]},{"id":48,"name":"ViewSpy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Attribute to be placed on any HTML element in a view to emit the View instance\nto the debug console, giving you insight into the live View instance, including\nall child views, live bindings, behaviors and more."},"children":[{"id":49,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a new instance of ViewSpy."},"signatures":[{"id":50,"name":"new ViewSpy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a new instance of ViewSpy."},"type":{"type":"reference","name":"ViewSpy","id":48}}]},{"id":51,"name":"_log","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":52,"name":"_log","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":53,"name":"lifecycleName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":54,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":61,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":62,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target element is attached to the DOM."},"type":{"type":"instrinct","name":"any"}}]},{"id":58,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":59,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target view is bound."},"parameters":[{"id":60,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The target view's binding context.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":55,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":56,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target view is created."},"parameters":[{"id":57,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The target view.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":63,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":64,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target element is detached from the DOM."},"type":{"type":"instrinct","name":"any"}}]},{"id":65,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":66,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the target element is unbound."},"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[49]},{"title":"Methods","kind":2048,"children":[51,61,58,55,63,65]}]},{"id":72,"name":"StageComponent","kind":32,"kindString":"Variable","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}}],"groups":[{"title":"Classes","kind":128,"children":[67,2,48]},{"title":"Variables","kind":32,"children":[72]}]}

@@ -0,1 +1,11 @@

<a name="0.5.0"></a>
# [0.5.0](https://github.com/aurelia/testing/compare/0.4.2...v0.5.0) (2016-06-22)
### Features
* **component-tester:** remove hard dependency on bootstrapper ([3887d19](https://github.com/aurelia/testing/commit/3887d19))
### 0.3.1 (2016-06-08)

@@ -2,0 +12,0 @@

{
"name": "aurelia-testing",
"version": "0.4.2",
"version": "0.5.0",
"description": "A collection of helpers for testing Aurelia apps and components.",

@@ -31,3 +31,2 @@ "keywords": [

"peerDependencies": {
"aurelia-bootstrapper": "^1.0.0-beta.2.0.0",
"aurelia-templating": "^1.0.0-beta.3.0.2",

@@ -40,3 +39,2 @@ "aurelia-framework": "^1.0.0-beta.2.0.0",

"dependencies": {
"aurelia-bootstrapper": "^1.0.0-beta.2.0.0",
"aurelia-dependency-injection": "^1.0.0-beta.2.1.0",

@@ -55,3 +53,2 @@ "aurelia-framework": "^1.0.0-beta.2.0.0",

"dependencies": {
"aurelia-bootstrapper": "^1.0.0-beta.2.0.0",
"aurelia-templating": "^1.0.0-beta.3.0.2",

@@ -77,3 +74,2 @@ "aurelia-framework": "^1.0.0-beta.2.0.0",

"babel-preset-stage-1": "^6.5.0",
"conventional-changelog": "1.1.0",
"del": "^2.2.0",

@@ -84,2 +80,3 @@ "gulp": "^3.9.1",

"gulp-concat": "^2.6.0",
"gulp-conventional-changelog": "^1.1.0",
"gulp-eslint": "^2.0.0",

@@ -112,6 +109,17 @@ "gulp-ignore": "^2.0.1",

"aurelia": {
"documentation": {
"articles": []
"aurelia": {
"documentation": {
"articles": [
{
"title": "Testing Components",
"href": "doc/article/en-US/testing-components.md"
},
{
"title": "End-to-End Testing",
"href": "doc/article/en-US/end-to-end-testing.md"
}
]
}
}
}
}

@@ -1,2 +0,1 @@

import {bootstrap} from 'aurelia-bootstrapper';
import {View} from 'aurelia-templating';

@@ -48,3 +47,3 @@ import {Aurelia} from 'aurelia-framework';

create(): Promise<void> {
create(bootstrap: (aurelia: Aurelia) => Promise<void>): Promise<void> {
return bootstrap(aurelia => {

@@ -51,0 +50,0 @@ return Promise.resolve(this.configure(aurelia)).then(() => {

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