Date: DATE
Accepted
| Proposed
| Deprecated
| Superseded
[ | |
{ | |
"@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>) |
function hammerTime() { | |
var cantTouchThis = true; | |
var myMusic = 'makes me so hard'; | |
debugger; | |
if (myMusic === 'makes me so hard') { | |
return cantTouchThis; | |
} else { | |
return !cantTouchThis; | |
} |
function coolStory() { | |
var coolStoryBro = [ | |
{ 'line': 'Now this is a story all about how' }, | |
{ 'line': 'My life got flipped-turned upside down' }, | |
{ 'line': 'And Id like to take a minute' }, | |
{ 'line': 'Just sit right there' }, | |
{ 'line': 'Ill tell you how I became the prince of a town called Bel-Air' } | |
]; | |