From 350bda2650fdf453103f558a3d12c129e09be8b3 Mon Sep 17 00:00:00 2001 From: Micah Geisel Date: Tue, 17 Dec 2024 15:34:15 -0600 Subject: [PATCH] is this correct, or a bug? --- test/hooks.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/hooks.js b/test/hooks.js index ce6f5b7..ceae148 100644 --- a/test/hooks.js +++ b/test/hooks.js @@ -64,7 +64,7 @@ describe("lifecycle hooks", function(){ initial.outerHTML.should.equal(``); }); - it.skip('calls afterNodeMorphed before a node is morphed', function(){ + it('calls afterNodeMorphed before a node is morphed', function(){ let calls = []; let initial = make(``); Idiomorph.morph(initial, ``, { callbacks: { @@ -77,9 +77,9 @@ describe("lifecycle hooks", function(){ } }); initial.outerHTML.should.equal(``); calls.should.eql([ - [`A`, `B`], - [`
  • A
  • `, `
  • B
  • `], - [``, ``], + [`B`, `B`], + [`
  • B
  • `, `
  • B
  • `], + [``, ``], ]); });