Skip to content

Commit

Permalink
Fix story spec
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Dec 2, 2023
1 parent a5d23a8 commit 4eccbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stories.spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local isStoryModule = require(flipbook.Storybook.isStoryModule)
local mountStory = require(flipbook.Storybook.mountStory)

return function()
for _, descendant in ipairs(flipbook.Components:GetDescendants()) do
for _, descendant in ipairs(flipbook:GetDescendants()) do
if isStoryModule(descendant) then
it("should mount/unmount " .. descendant.Name, function()
local story = require(descendant)
Expand Down

0 comments on commit 4eccbb1

Please sign in to comment.