update webide example names for consistency

This commit is contained in:
Edmond Lee 2020-06-03 08:46:09 -07:00
parent 2032485b60
commit 2b0f3ce969
6 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
(*_*
name: CameLIGO Contract
name: Increment Contract (CameLIGO)
language: cameligo
compile:
entrypoint: main

View File

@ -1,5 +1,5 @@
(*_*
name: PascaLIGO Contract
name: Increment Contract (PascaLIGO)
language: pascaligo
compile:
entrypoint: main

View File

@ -1,5 +1,5 @@
(*_*
name: ReasonLIGO Contract
name: Increment Contract (ReasonLIGO)
language: reasonligo
compile:
entrypoint: main

View File

@ -56,7 +56,7 @@ export const Examples = () => {
return (
<Container>
<Header>Examples</Header>
<Header>Contract Examples</Header>
<MenuContainer>
{examples.map(example => {
return (

View File

@ -33,12 +33,12 @@ export const DEFAULT_STATE: ExamplesState = {
if (process.env.NODE_ENV === 'development') {
DEFAULT_STATE.list = [
{ id: 'MzkMQ1oiVHJqbcfUuVFKTw', name: 'Increment Example CameLIGO ' },
{ id: 'FEb62HL7onjg1424eUsGSg', name: 'Increment Example PascaLIGO' },
{ id: 'JPhSOehj_2MFwRIlml0ymQ', name: 'Increment Example ReasonLIGO' },
{ id: 'ehDv-Xaf70mQoiPhQDTAUQ', name: 'ID Example CameLIGO' },
{ id: 'CpnK7TFuUjJiQTT8KiiGyQ', name: 'ID Example ReasonLIGO' },
{ id: 'yP-THvmURsaqHxpwCravWg', name: 'ID Example PascaLIGO' },
{ id: 'FEb62HL7onjg1424eUsGSg', name: 'Increment (PascaLIGO)' },
{ id: 'MzkMQ1oiVHJqbcfUuVFKTw', name: 'Increment (CameLIGO)' },
{ id: 'JPhSOehj_2MFwRIlml0ymQ', name: 'Increment (ReasonLIGO)' },
{ id: 'yP-THvmURsaqHxpwCravWg', name: 'ID (PascaLIGO)' },
{ id: 'ehDv-Xaf70mQoiPhQDTAUQ', name: 'ID (CameLIGO)' },
{ id: 'CpnK7TFuUjJiQTT8KiiGyQ', name: 'ID (ReasonLIGO)' }
];
}

View File

@ -24,7 +24,7 @@ describe('Share', () => {
await responseCallback;
const actualShareLink = await page.evaluate(getInputValue, 'share-link');
const expectedShareLink = `${API_HOST}/p/2GnQR0cUYeO7feAw71SJYQ`
const expectedShareLink = `${API_HOST}/p/Q6NsW75ot2Tym5I4JU8AgQ`
expect(actualShareLink).toEqual(expectedShareLink);
done();