Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Hockin (10.43 sec)

  1. npm/webpack-dev-server/__perf-stats/vue.json

                "fillLast": true,
                "loaders": [
                  "babel-loader"
                ],
                "start": 1612965781775,
                "end": 1612965782927
              },
              {
                "name": "/Users/dmitrijkovalenko/dev/_cy/cypress/npm/vue/cypress/component/advanced/mocking-axios/2-Users.spec.js",
                "fillLast": true,
    Json
    - Registered: 2021-10-29 08:39
    - Last Modified: 2021-02-12 13:44
    - 101.3K bytes
    - Viewed (0)
  2. npm/react/cypress/component/basic/network/README.md

    # Mocking network
    
    - [1-users-spec.js](1-users-spec.js) tests [1-users.jsx](1-users.jsx) that uses Axios to GET a list of users. Axios uses XMLHttpRequest to receive the data
    Plain Text
    - Registered: 2021-10-29 08:39
    - Last Modified: 2020-10-01 10:54
    - 465 bytes
    - Viewed (0)
  3. npm/react/examples/using-babel/src/Mock.spec.js

    import { mount } from '@cypress/react'
    import Post from './Post'
    import * as calc from './calc'
    
    // confirm the Post component that imports and calls the "getRandomNumber"
    // renders the mock value because the test stubs it
    describe('Mocking', () => {
      it('mocks import used by the Post', () => {
        cy.stub(calc, 'getRandomNumber')
        .as('lucky')
        .returns(777)
    
        mount(<Post title="post title" children="post text" />)
    JavaScript
    - Registered: 2021-10-29 08:39
    - Last Modified: 2020-10-14 06:45
    - 533 bytes
    - Viewed (0)
  4. npm/react/cypress/component/advanced/context/README.md

    # Mocking context around the component
    
    - [App-spec.js](App-spec.js) tests [App.jsx](App.jsx) that has a context provider [context.js](context.js) around [Toolbar.jsx](Toolbar.jsx)
    
    We can also create children elements with mock context around them right from the test file. See [Mock-context-spec.js](Mock-context-spec.js) file.
    
    ```js
    import { mount } from '@cypress/react'
    import { ThemeContext } from './context'
    import { Toolbar } from './Toolbar.jsx'
    
    Plain Text
    - Registered: 2021-10-29 08:39
    - Last Modified: 2020-10-14 06:45
    - 820 bytes
    - Viewed (0)
  5. npm/react/cypress/component/advanced/tutorial/README.md

    [square-spec.js](square-spec.js) | Testing individual square
    [tic-tac-toe-spec.js](tic-tac-toe-spec.js) | Testing the entire game
    <!-- prettier-ignore-end -->
    
    ![Tic tac toe](images/tic-tac-toe.gif)
    
    Plain Text
    - Registered: 2021-10-29 08:39
    - Last Modified: 2020-10-01 10:54
    - 743 bytes
    - Viewed (0)
  6. npm/vue/cypress/component/advanced/mocking-components/spec.js

    /// <reference types="cypress" />
    import { mount } from '@cypress/vue'
    import ParentComponent from './Parent.vue'
    
    describe('Mocking components', () => {
      beforeEach(() => {
        // by deleting _Ctor we force Vue system to recompile the
        // component and render the new component tree
        delete ParentComponent._Ctor
      })
    
      it('renders real child component', () => {
        mount(ParentComponent)
        cy.get('.a-parent')
        cy.get('.a-child')
    JavaScript
    - Registered: 2021-10-29 08:39
    - Last Modified: 2020-09-29 20:14
    - 1.5K bytes
    - Viewed (0)
  7. npm/react/README.md

    [mocking-axios](cypress/component/advanced/mocking-axios) | Stubbing methods from a 3rd party component like `axios`
    [mocking-component](cypress/component/advanced/mocking-component) | Replaced a child component with dummy component during test
    [mocking-imports](cypress/component/advanced/mocking-imports) | Stub a named ES6 import in various situations
    Plain Text
    - Registered: 2021-10-29 08:39
    - Last Modified: 2021-07-19 13:36
    - 27.4K bytes
    - Viewed (0)
  8. npm/react/cypress/component/basic/enzyme/README.md

    - you can mock [children components](https://github.com/bahmutov/cypress-react-unit-test/tree/main/cypress/component/advanced/mocking-component) if you want to avoid running "expensive" components during tests
    Plain Text
    - Registered: 2021-10-29 08:39
    - Last Modified: 2020-10-14 14:55
    - 3.2K bytes
    - Viewed (0)
  9. npm/vue/cypress/component/advanced/mocking-imports/images/mocking.png

    mocking.png...
    Image
    - Registered: 2021-10-29 08:39
    - Last Modified: 2020-09-29 20:14
    - 252.9K bytes
    - Viewed (0)
Back to top