Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yml update1 #87

Closed
wants to merge 13 commits into from
Closed

yml update1 #87

wants to merge 13 commits into from

Conversation

BassemNKhalil
Copy link
Owner

No description provided.

Copy link

github-actions bot commented Nov 15, 2023

Coverage report

❌ An unexpected error occurred. For more details, check console

Error: The process '/opt/hostedtoolcache/node/16.20.2/x64/bin/npx' failed with exit code 1
St.
Category Percentage Covered / Total
🟢 Statements 100% 117/117
🟢 Branches 100% 8/8
🟢 Functions 100% 13/13
🟢 Lines 100% 117/117

Test suite run failed

Failed tests: 1/26. Failed suites: 1/11.
  ● prettier: parentWP & componentWP files changed

    expect(received).not.toEqual(expected) // deep equality

    Expected: not "import * as React from 'react';
    import styles from './WebPart1.module.scss';
    import { IWebPart1Props } from './IWebPart1Props';
    import { escape } from '@microsoft/sp-lodash-subset';·
    export default class WebPart1 extends React.Component<IWebPart1Props, {}> {
      public render(): React.ReactElement<IWebPart1Props> {
        const {
          description,
          isDarkTheme,
          environmentMessage,
          hasTeamsContext,
          userDisplayName
        } = this.props;·
        return (
          <section className={`${styles.webPart1} ${hasTeamsContext ? styles.teams : ''}`}>
            <div className={styles.welcome}>
              <img alt=\"\" src={isDarkTheme ? require('../assets/welcome-dark.png') : require('../assets/welcome-light.png')} className={styles.welcomeImage} />
              <h2>Well done, {escape(userDisplayName)}!</h2>
              <div>{environmentMessage}</div>
              <div>Web part property value: <strong>{escape(description)}</strong></div>
            </div>
            <div>
              <h3>Welcome to SharePoint Framework!</h3>
              <p>
                The SharePoint Framework (SPFx) is a extensibility model for Microsoft Viva, Microsoft Teams and SharePoint. It&#39;s the easiest way to extend Microsoft 365 with automatic Single Sign On, automatic hosting and industry standard tooling.
              </p>
              <h4>Learn more about SPFx development:</h4>
              <ul className={styles.links}>
                <li><a href=\"https://aka.ms/spfx\" target=\"_blank\" rel=\"noreferrer\">SharePoint Framework Overview</a></li>
                <li><a href=\"https://aka.ms/spfx-yeoman-graph\" target=\"_blank\" rel=\"noreferrer\">Use Microsoft Graph in your solution</a></li>
                <li><a href=\"https://aka.ms/spfx-yeoman-teams\" target=\"_blank\" rel=\"noreferrer\">Build for Microsoft Teams using SharePoint Framework</a></li>
                <li><a href=\"https://aka.ms/spfx-yeoman-viva\" target=\"_blank\" rel=\"noreferrer\">Build for Microsoft Viva Connections using SharePoint Framework</a></li>
                <li><a href=\"https://aka.ms/spfx-yeoman-store\" target=\"_blank\" rel=\"noreferrer\">Publish SharePoint Framework applications to the marketplace</a></li>
                <li><a href=\"https://aka.ms/spfx-yeoman-api\" target=\"_blank\" rel=\"noreferrer\">SharePoint Framework API reference</a></li>
                <li><a href=\"https://aka.ms/m365pnp\" target=\"_blank\" rel=\"noreferrer\">Microsoft 365 Developer Community</a></li>
              </ul>
            </div>
          </section>
        );
      }
    }
    "

      34 |
      35 | test("prettier: parentWP & componentWP files changed", () => {
    > 36 |   expect(parentWP_afterChanges).not.toEqual(parentWP_beforeChanges);
         |                                     ^
      37 |   expect(componentWP_afterChanges).not.toEqual(componentWP_beforeChanges);
      38 | });
      39 |

      at Object.toEqual (Tests/e2e/Commands/prettier.test.js:36:37)

Report generated by 🧪jest coverage report action from 21ebd78

@BassemNKhalil BassemNKhalil deleted the yml_update1 branch November 17, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant