@joystick.js/test-canary 0.0.0-canary.73 → 0.0.0-canary.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import o from"./test.js";import r from"./helpers/api/index.js";import t from"./helpers/component/index.js";import e from"./helpers/databases/index.js";import m from"./helpers/email/index.js";import f from"./helpers/queues/index.js";import a from"./helpers/load/index.js";import p from"./helpers/routes/index.js";import i from"./helpers/uploaders/index.js";import s from"./helpers/websockets/index.js";var w={after:o.after,afterEach:o.afterEach,api:r,before:o.before,beforeEach:o.beforeEach,component:t,databases:e,email:m,load:a,queues:f,routes:p,that:o.that,uploaders:i,websockets:s};export{w as default};
1
+ import r from"./test.js";import o from"./helpers/api/index.js";import e from"./helpers/render/index.js";import t from"./helpers/databases/index.js";import m from"./helpers/email/index.js";import f from"./helpers/queues/index.js";import a from"./helpers/load/index.js";import p from"./helpers/routes/index.js";import i from"./helpers/uploaders/index.js";import s from"./helpers/websockets/index.js";var w={after:r.after,afterEach:r.afterEach,api:o,before:r.before,beforeEach:r.beforeEach,render:e,databases:t,email:m,load:a,queues:f,routes:p,that:r.that,uploaders:i,websockets:s};export{w as default};
package/dist/test.js CHANGED
@@ -1 +1 @@
1
- import r from"ava";let n=[];r.after.always(()=>{console.log("CLEANUP USERS")});class l{constructor(){}signup(e=[]){}login(e=[]){}accounts(){return{signup:this.signup,login:this.login}}before(e=null){return r.serial.before(e)}beforeEach(e=null){return r.beforeEach(e)}after(e=null){return r.after.always(e)}afterEach(e=null){return r.afterEach.always(e)}that(e="",t=null){return r.serial(e,t)}}var u=new l;export{u as default};
1
+ import r from"ava";let n=[];r.serial.after.always(()=>{console.log("CLEANUP USERS")});class l{constructor(){}signup(e=[]){}login(e=[]){}accounts(){return{signup:this.signup,login:this.login}}before(e=null){return r.serial.before(e)}beforeEach(e=null){return r.beforeEach(e)}after(e=null){return r.after.always(e)}afterEach(e=null){return r.afterEach.always(e)}that(e="",t=null){return r.serial(e,t)}}var u=new l;export{u as default};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@joystick.js/test-canary",
3
3
  "type": "module",
4
- "version": "0.0.0-canary.73",
4
+ "version": "0.0.0-canary.75",
5
5
  "description": "Isomorphic testing framework for the Joystick JavaScript framework.",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import test from './test.js';
2
2
  import api from './helpers/api/index.js';
3
- import component from './helpers/component/index.js';
3
+ import render from './helpers/render/index.js';
4
4
  import databases from './helpers/databases/index.js';
5
5
  import email from './helpers/email/index.js';
6
6
  import queues from './helpers/queues/index.js';
@@ -15,7 +15,7 @@ export default {
15
15
  api,
16
16
  before: test.before,
17
17
  beforeEach: test.beforeEach,
18
- component,
18
+ render,
19
19
  databases,
20
20
  email,
21
21
  load,
package/src/test.js CHANGED
@@ -3,7 +3,7 @@ import test from 'ava';
3
3
  let users = [];
4
4
 
5
5
  // NOTE: Internal cleaup to avoid confusing tests.
6
- test.after.always(() => {
6
+ test.serial.after.always(() => {
7
7
  console.log('CLEANUP USERS');
8
8
  });
9
9
 
File without changes
File without changes
File without changes
File without changes