chore(deps): upgrade eslint, prettier & related packages
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
0a53a1d7f0
commit
6c91f81b0e
@ -1,7 +1,7 @@
|
||||
/* global cy */
|
||||
|
||||
describe('A certification,', function() {
|
||||
describe('while viewing your own,', function() {
|
||||
describe('A certification,', function () {
|
||||
describe('while viewing your own,', function () {
|
||||
before(() => {
|
||||
cy.visit('/');
|
||||
cy.contains("Get started (it's free)").click({ force: true });
|
||||
@ -51,7 +51,7 @@ describe('A certification,', function() {
|
||||
.click({ force: true });
|
||||
});
|
||||
|
||||
it('should render a LinkedIn button', function() {
|
||||
it('should render a LinkedIn button', function () {
|
||||
cy.contains('Add this certification to my LinkedIn profile')
|
||||
.should('have.attr', 'href')
|
||||
.and(
|
||||
@ -61,7 +61,7 @@ describe('A certification,', function() {
|
||||
);
|
||||
});
|
||||
|
||||
it('should render a Twitter button', function() {
|
||||
it('should render a Twitter button', function () {
|
||||
cy.contains('Share this certification on Twitter').should(
|
||||
'have.attr',
|
||||
'href',
|
||||
@ -78,20 +78,20 @@ describe('A certification,', function() {
|
||||
});
|
||||
});
|
||||
|
||||
describe("while viewing someone else's,", function() {
|
||||
describe("while viewing someone else's,", function () {
|
||||
before(() => {
|
||||
cy.go('back');
|
||||
cy.contains('Sign me out of freeCodeCamp').click({ force: true });
|
||||
cy.visit('/certification/developmentuser/legacy-front-end');
|
||||
});
|
||||
|
||||
it('should not render a LinkedIn button', function() {
|
||||
it('should not render a LinkedIn button', function () {
|
||||
cy.contains('Add this certification to my LinkedIn profile').should(
|
||||
'not.exist'
|
||||
);
|
||||
});
|
||||
|
||||
it('should not render a Twitter button', function() {
|
||||
it('should not render a Twitter button', function () {
|
||||
cy.contains('Share this certification on Twitter').should('not.exist');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user