Skip to content

An open source design system that's fully customizable and agent ready

TypeScript
394 B
Raw Blame
// Copyright (c) Meta Platforms, Inc. and affiliates.

import {describe, expect, it} from 'vitest';
import robots from '../app/robots';

describe('docsite robots policy', () => {
  it('keeps the hidden registry out of crawler discovery', () => {
    expect(robots().rules).toEqual({
      userAgent: '*',
      allow: '/',
      disallow: ['/playground/preview', '/shadcn/'],
    });
  });
});