You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can.fixture("services/thing",function(){ ... CODEA ... });// in a test, remove default fixture and provide your ownvaroldFixture=can.fixture("services/thing",null);can.fixture("services/thing",function(){ ... CODEB ... });// run testTEST// restore old fixturecan.fixture("services/thing",oldFixture)
The text was updated successfully, but these errors were encountered:
justinbmeyer
changed the title
Delete fixture and get removed fixture function for later restoration
Delete fixture and get removed fixture function for later restoration ~8
Sep 1, 2016
From: canjs/canjs#810
Something like:
The text was updated successfully, but these errors were encountered: