remove console.logs

This commit is contained in:
Yanick Champoux 2019-10-20 09:52:50 -04:00
parent f5c5728ede
commit 64e89dc046

View File

@ -7,7 +7,7 @@ test( 'mutations, simple', () => {
const dux = updux({ const dux = updux({
mutations: { mutations: {
foo: () => tracer('a'), foo: () => tracer('a'),
'*': (p,a) => { console.log(a); return tracer('b') }, '*': (p,a) => tracer('b'),
}, },
}); });
@ -28,7 +28,7 @@ test( 'with subduxes', () => {
const dux = updux({ const dux = updux({
mutations: { mutations: {
foo: () => tracer('a'), foo: () => tracer('a'),
'*': (dummy,a) => { console.log("got XXX " ,a); return tracer('b') }, '*': (dummy,a) => tracer('b'),
bar: () => ({bar}) => ({ bar, tracer: bar.tracer }) bar: () => ({bar}) => ({ bar, tracer: bar.tracer })
}, },
subduxes: { subduxes: {