Skip to content

Writing unit test cases for jekyll plugins need to access the context.registers. #189

@rishankHashout

Description

@rishankHashout

Hello ,
I am writing unit test cases for my jekyll plugins , where I need the site variable and context.registers .
I was able to get the site variable using the process used by jekyll-algolia plugin link to jekyll-algolia spec_helper.rb.
Is there a way i can also access the @context.register using the way got access to site variable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions