Merge branch 'webide/update-example-names' into 'dev'
webide/update webide example names for consistency See merge request ligolang/ligo!659
This commit is contained in:
commit
ac124b0c4d
@ -1,5 +1,5 @@
|
||||
(*_*
|
||||
name: CameLIGO Contract
|
||||
name: Increment Contract (CameLIGO)
|
||||
language: cameligo
|
||||
compile:
|
||||
entrypoint: main
|
||||
|
@ -1,5 +1,5 @@
|
||||
(*_*
|
||||
name: PascaLIGO Contract
|
||||
name: Increment Contract (PascaLIGO)
|
||||
language: pascaligo
|
||||
compile:
|
||||
entrypoint: main
|
||||
|
@ -1,5 +1,5 @@
|
||||
(*_*
|
||||
name: ReasonLIGO Contract
|
||||
name: Increment Contract (ReasonLIGO)
|
||||
language: reasonligo
|
||||
compile:
|
||||
entrypoint: main
|
||||
|
@ -56,7 +56,7 @@ export const Examples = () => {
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<Header>Examples</Header>
|
||||
<Header>Contract Examples</Header>
|
||||
<MenuContainer>
|
||||
{examples.map(example => {
|
||||
return (
|
||||
|
@ -31,14 +31,18 @@ export const DEFAULT_STATE: ExamplesState = {
|
||||
list: []
|
||||
};
|
||||
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
|
||||
// The name value configured in this list will only be for the development environment.
|
||||
// For other environments, the name value will be taken directly from your contract's yaml configuration.
|
||||
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)' }
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user