Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for system (0.23 sec)

  1. packages/core/helper-plugin/lib/src/components/DateTimePicker/tests/index.test.js

    import * as React from 'react';
    import { render, screen } from '@testing-library/react';
    import { ThemeProvider } from '@strapi/design-system/ThemeProvider';
    import { lightTheme } from '@strapi/design-system/themes';
    import DateTimePicker from '../index';
    
    describe('DateTimePicker', () => {
      it('snapshots the component', () => {
        const { container } = render(
          <ThemeProvider theme={lightTheme}>
            <DateTimePicker
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2022-07-21 09:06
    - 2.9K bytes
    - Viewed (0)
  2. packages/core/helper-plugin/lib/src/components/RelativeTime/tests/index.test.js

    import React from 'react';
    import { render, screen } from '@testing-library/react';
    import { IntlProvider } from 'react-intl';
    import { ThemeProvider, lightTheme } from '@strapi/design-system';
    import RelativeTime from '../index';
    
    const App = (
      <ThemeProvider theme={lightTheme}>
        <IntlProvider locale="en" messages={{}} textComponent="span">
          <RelativeTime timestamp={new Date('2015-10-01 07:55:00')} />
        </IntlProvider>
      </ThemeProvider>
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2021-10-27 08:36
    - 1.4K bytes
    - Viewed (0)
  3. packages/core/upload/admin/src/components/UploadProgress/tests/index.test.js

    /**
     *
     * Tests for EditAssetDialog
     *
     */
    
    import React from 'react';
    import { render, screen, fireEvent } from '@testing-library/react';
    import { ThemeProvider, lightTheme } from '@strapi/design-system';
    import { IntlProvider } from 'react-intl';
    import { QueryClient, QueryClientProvider } from 'react-query';
    import { UploadProgress } from '..';
    import en from '../../../translations/en.json';
    
    JavaScript
    - Registered: 2022-08-02 15:31
    - Last Modified: 2022-06-13 09:16
    - 5.7K bytes
    - Viewed (0)
  4. packages/core/admin/admin/src/pages/MarketplacePage/tests/index.test.js

      getByText,
      queryByText,
    } from '@testing-library/react';
    import { IntlProvider } from 'react-intl';
    import { QueryClient, QueryClientProvider } from 'react-query';
    import { ThemeProvider, lightTheme } from '@strapi/design-system';
    import { useTracking, useAppInfos } from '@strapi/helper-plugin';
    import useNavigatorOnLine from '../../../hooks/useNavigatorOnLine';
    import MarketPlacePage from '../index';
    import server from './server';
    
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2022-06-29 08:40
    - 8.8K bytes
    - Viewed (0)
  5. packages/core/helper-plugin/lib/src/components/PaginationURLQuery/tests/index.test.js

    import { IntlProvider } from 'react-intl';
    import { Router } from 'react-router-dom';
    import { createMemoryHistory } from 'history';
    import { ThemeProvider, lightTheme } from '@strapi/design-system';
    import PaginationURLQuery from '../index';
    
    const messages = {
      'components.pagination.go-to': 'Go to page {page}',
      'components.pagination.go-to-previous': 'Go to previous page',
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2022-08-01 13:28
    - 10K bytes
    - Viewed (0)
  6. packages/core/admin/admin/src/pages/SettingsPage/components/SettingsNav/tests/index.test.js

    import { render } from '@testing-library/react';
    import { IntlProvider } from 'react-intl';
    import { Router } from 'react-router-dom';
    import { createMemoryHistory } from 'history';
    import { ThemeProvider, lightTheme } from '@strapi/design-system';
    import SettingsNav from '../index';
    
    const menu = [
      {
        id: 'global',
        intlLabel: { id: 'Settings.global', defaultMessage: 'Global Settings' },
        links: [
          {
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2022-08-01 13:28
    - 16.3K bytes
    - Viewed (0)
  7. packages/plugins/users-permissions/admin/src/pages/Roles/ListPage/tests/index.test.js

    import { render, screen, waitFor } from '@testing-library/react';
    import { IntlProvider } from 'react-intl';
    import { QueryClient, QueryClientProvider } from 'react-query';
    import { ThemeProvider, lightTheme } from '@strapi/design-system';
    import { useRBAC } from '@strapi/helper-plugin';
    import { Router } from 'react-router-dom';
    import { createMemoryHistory } from 'history';
    
    import RoleListPage from '../index';
    import server from './server';
    
    JavaScript
    - Registered: 2022-06-07 15:31
    - Last Modified: 2022-04-26 13:09
    - 25.5K bytes
    - Viewed (0)
  8. packages/core/admin/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/tests/index.test.js

    import { createMemoryHistory } from 'history';
    import { useRBAC, TrackingContext } from '@strapi/helper-plugin';
    import { QueryClient, QueryClientProvider } from 'react-query';
    import { lightTheme, darkTheme } from '@strapi/design-system';
    import { axiosInstance } from '../../../../../../core/utils';
    import Theme from '../../../../../../components/Theme';
    import ThemeToggleProvider from '../../../../../../components/ThemeToggleProvider';
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2022-06-17 17:19
    - 26.6K bytes
    - Viewed (0)
  9. packages/core/admin/admin/src/content-manager/pages/EditSettingsView/tests/index.test.js

    import { QueryClient, QueryClientProvider } from 'react-query';
    import { DndProvider } from 'react-dnd';
    import { HTML5Backend } from 'react-dnd-html5-backend';
    import { ThemeProvider } from '@strapi/design-system/ThemeProvider';
    import { lightTheme } from '@strapi/design-system/themes';
    import EditSettingsView from '../index';
    
    jest.mock('@strapi/helper-plugin', () => ({
      ...jest.requireActual('@strapi/helper-plugin'),
      // eslint-disable-next-line
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2022-03-29 12:20
    - 4.8K bytes
    - Viewed (1)
  10. packages/core/admin/admin/src/pages/SettingsPage/pages/Users/ListPage/PaginationFooter/tests/index.test.js

    import { IntlProvider } from 'react-intl';
    import { createMemoryHistory } from 'history';
    import { Router, Route } from 'react-router-dom';
    import { lightTheme, darkTheme } from '@strapi/design-system';
    import { TrackingContext } from '@strapi/helper-plugin';
    import Theme from '../../../../../../../components/Theme';
    import ThemeToggleProvider from '../../../../../../../components/ThemeToggleProvider';
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2022-04-13 15:15
    - 1.5K bytes
    - Viewed (0)
Back to top