Date: DATE
Accepted | Proposed | Deprecated | Superseded
| #!/bin/sh | |
| docker run --rm --name renovate \ | |
| -e RENOVATE_PLATFORM=gitea \ | |
| -e RENOVATE_ENDPOINT=https://gitea.url.com \ | |
| -e RENOVATE_TOKEN="$RENOVATE_TOKEN" \ | |
| -e RENOVATE_GIT_AUTHOR="Renovate Bot <bot@renovateapp.com>" \ | |
| -e RENOVATE_AUTODISCOVERY=true \ | |
| -e RENOVATE_ONBOARDING=true \ | |
| -e RENOVATE_AUTODISCOVERYFILTER=johnnolan/* \ |
| steps: | |
| build: | |
| image: woodpeckerci/plugin-docker-buildx:6.0.2 | |
| settings: | |
| registry: registry.url.com | |
| repo: registry.url.com/vscode-server-custom | |
| tag: build-${CI_PIPELINE_NUMBER} | |
| dockerfile: ./Dockerfile | |
| when: | |
| event: |
| [ | |
| { | |
| "@id": "http://w3id.org/lpa/", | |
| "@type": ["http://www.w3.org/2002/07/owl#Ontology"], | |
| "http://purl.org/dc/terms/title": [ | |
| { "@value": "LPA ontology", "@language": "en" } | |
| ], | |
| "http://purl.org/dc/terms/description": [ | |
| { | |
| "@value": "The Lasting Power of Attorney ontology aims at describing the Lasting Power of Attorney document.", |
| { | |
| "@context": { | |
| "@version": 1.1, | |
| "@protected": true, | |
| "id": "@id", | |
| "type": "@type", | |
| "LastingPowerOfAttorney": { | |
| "@id": "https://www.opg.gov.uk.org/2022/LastingPowerOfAttorney", | |
| "@context": { | |
| "@version": 1.1, |
| [ | |
| { | |
| "_id": "MjAyMC0wNi0wMVQwMDowMDowMCswMDowMG9wZy11c2UtYW4tbHBhbW9udGh0cmFuc2FjdGlvbnNkaWdpdGFs", | |
| "_timestamp": "2020-06-01T00:00:00+00:00", | |
| "service": "opg-use-an-lpa", | |
| "channel": "digital", | |
| "count": 456, | |
| "dataType": "transactions", | |
| "period": "month" | |
| }, |
I hereby claim:
To claim this, I am signing this object:
| import React from 'react' | |
| import {render, cleanup} from 'react-testing-library' | |
| // withHOC.js | |
| function withHOC (WrappedComponent) { | |
| render() { | |
| return ( | |
| <main> | |
| <section> | |
| <h1>HOC Example</h1> |
| import React from "react"; | |
| import Button from "Button"; | |
| import { mountWrap } from 'contextWrap'; | |
| describe("Given the button is rendered with just a label", () => { | |
| const data = { | |
| label: "My Button" | |
| } | |
| let wrapper, aElement; |
| import React from "react"; | |
| import { mount } from 'enzyme'; | |
| import renderer from 'react-test-renderer' | |
| import { Provider } from 'react-redux' | |
| describe("Given you have a component that is wrapped in a Redux store and mount it, then you want to update the props of the child component", () => { | |
| it('renders correctly', () => { | |
| const mockStore = configureStore(); | |
| let store = mockStore(initialState) | |
| let wrapper = mount(<Provider store={ store }><ConnectedComponent /></Provider>) |