Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Polaris

Polaris is the codename for the universal Header, Footer & Toast notifications for XFINITY Websites.

This repo contains the Vanilla Web Components for those 3 custom elements. We released this to provide an example of how you can build and deploy web components to share across multiple projects. This project is not maintained and only serves as an example. If you're interested in learning more about web components, check out Open WC

How to Set up Your Development Environment

npm i npm start

Testing

    `yarn test`

JavaScript Unit Testing

Polaris uses Web Component Tester as its JavaScript testing framework.

You can run WCT using yarn test or wct - install wct globally first with yarn global add wct

JavaScript Code Coverage

Polaris uses Istanbul in tracing JavaScript code coverage.

How to generate code coverage:

  1. Run a test yarn test

  2. View the report in your browser:

    open coverage/index.html

Building for Release

    `yarn build`

About

Vanilla Web Components for global Header, Footer & Toast notifications for XFINITY Websites

Resources

License

Releases

No releases published

Packages

No packages published