Skip to content

Commit

Permalink
fix: instanceof Fragment and FragmentArray is not an object
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielCousin authored and luxzeitlos committed Oct 21, 2022
1 parent a9810bb commit 8a92759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/converter/fixture-converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ try {
Fragment = MF && MF.default;
FragmentArray = MFA && MFA.default;
} catch (e) {
// do nothing
// create empty constructors
Fragment = function Fragment() {};
FragmentArray = function FragmentArray() {};
}

/**
Expand Down

0 comments on commit 8a92759

Please sign in to comment.