Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terra-markdown

Package Overview
Dependencies
Maintainers
11
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-markdown - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

lib/terra-dev-site/test/markdown/MockMarkdown.test.js

5

CHANGELOG.md

@@ -7,2 +7,7 @@ Changelog

2.6.0 - (May 30, 2018)
------------------
### Changed
* Updated structure to match terra-dev-site 1.0 and moved doc examples internal.
2.5.0 - (May 9, 2018)

@@ -9,0 +14,0 @@ ------------------

2

package.json
{
"name": "terra-markdown",
"main": "lib/Markdown.js",
"version": "2.6.0",
"version": "2.7.0",
"description": "terra-markdown",

@@ -6,0 +6,0 @@ "repository": {

import React from 'react';
import Markdown from '../../src/Markdown';
import MockREADME from '../nightwatch/MockREADME.md';
import MockREADME from '../../src/terra-dev-site/test/markdown/MockREADME.md';

@@ -5,0 +5,0 @@ it('should render correctly', () => {

@@ -6,3 +6,3 @@ // eslint-disable-next-line import/no-extraneous-dependencies

'Displays a props table': (browser) => {
browser.url(`${browser.launchUrl}/#/raw/tests/markdown/mock-markdown`)
browser.url(`${browser.launchUrl}/#/raw/tests/terra-markdown/markdown/mock-markdown`)
.assert.elementPresent('[class*="markdown-body"]');

@@ -12,3 +12,3 @@ },

'Displays the component title': (browser) => {
browser.url(`${browser.launchUrl}/#/raw/tests/markdown/mock-markdown`)
browser.url(`${browser.launchUrl}/#/raw/tests/terra-markdown/markdown/mock-markdown`)
.assert.elementPresent('#terra-mock-component');

@@ -18,3 +18,3 @@ },

'Displays the component getting started section': (browser) => {
browser.url(`${browser.launchUrl}/#/raw/tests/markdown/mock-markdown`)
browser.url(`${browser.launchUrl}/#/raw/tests/terra-markdown/markdown/mock-markdown`)
.assert.elementPresent('#getting-started');

@@ -24,3 +24,3 @@ },

'Displays the component usage section': (browser) => {
browser.url(`${browser.launchUrl}/#/raw/tests/markdown/mock-markdown`)
browser.url(`${browser.launchUrl}/#/raw/tests/terra-markdown/markdown/mock-markdown`)
.assert.elementPresent('#usage');

@@ -30,3 +30,3 @@ },

'Displays the component example code': (browser) => {
browser.url(`${browser.launchUrl}/#/raw/tests/markdown/mock-markdown`)
browser.url(`${browser.launchUrl}/#/raw/tests/terra-markdown/markdown/mock-markdown`)
.assert.elementPresent('.lang-jsx');

@@ -36,5 +36,5 @@ },

'Displays the component features': (browser) => {
browser.url(`${browser.launchUrl}/#/raw/tests/markdown/mock-markdown`)
browser.url(`${browser.launchUrl}/#/raw/tests/terra-markdown/markdown/mock-markdown`)
.assert.elementPresent('#component-features');
},
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc