'foo']);
expect(blade('
'))
->toBe('
');
});
test('the @seo helper can be used for setting & fetching values', function () {
expect(blade('
'))
->toBe('
');
});
test('the @seo helper can be used for setting values with no output', function () {
expect(blade('
'))
->toBe('
');
expect(seo('image'))->toBe('foo');
});
test("opengraph tags are rendered only if they're set", function () {
seo()->title('foo');
expect(meta())
->toContain('og:title')
->not()->toContain('og:description');
});
test('twitter tags are rendered only if the extension is enabled', function () {
seo()->title('foo');
expect(meta())->not()->toContain('twitter');
seo()->twitter()->twitterTitle('bar');
expect(meta())->toContain('twitter');
});