Skip to content

Commit

Permalink
docs(docsWeb): redesign docs, add nested navigation link list (scully…
Browse files Browse the repository at this point in the history
…io#753)

* docs(docsWeb): redesign docs, add nested navigation link list

Total redesign of documentation styles, page structure and hierarchies.
Navigation accommodates
nested links and offers parameters for link positioning and styles.

ISSUES CLOSED: scullyio#630

* docs(docsWeb): add / fix incorrect files from first commit

Add missed plugins FAQ entry.
Remove unecessary comment in prism-js.md
Correct test component paths

* docs(docsWeb): fix jest snapshots

* docs(docsWeb): fix jest snapshots

* docs(docsWeb): fix jest snapshot(?)

* docs(docsWeb): move prismjs from devDependencies to dependencies

* docs(docsWeb): remove ViewEncapsulation and make all styles global

* docs(docsWeb): cleanup old styles, update highlighting

Remove remaining evidence of component encapsulated styles.
Give `json` syntax highlighting more
contrast

* docs(docsWeb): all styles dependent only on workspace.json

* docs(docsWeb): simplify component selectors

* docs(docsWeb): update jest snapshots

* docs(docsWeb): add language select ability

Language selector shows the language of the current page,
links to other corresponding language
pages,
and indicators showing this, as well as an indicator showing if a current page has no
corresponding language equivalent. Will link back to a default language page.
Added additional
functionality for pages to affect their parent directories' linkText and routes.

* docs(docsWeb): fix missing underscore (_)

* test(docsWeb): new snaptshots

* remove snapshot

* remove snapshots

* docs(docsWeb): merge in main, update snapshots

* feat(docsWeb): add some fixes, and the other pr for showcase

* test(docsWeb): updated snapshots

* test(docsWeb): merged master, updated snapshots

Co-authored-by: sanderelias <[email protected]>
Co-authored-by: jorgeucano <[email protected]>
  • Loading branch information
3 people authored Aug 5, 2020
1 parent 0141e26 commit f66e9a2
Show file tree
Hide file tree
Showing 270 changed files with 87,147 additions and 29,538 deletions.
107 changes: 107 additions & 0 deletions .firebase/hosting.ZGlzdFxzdGF0aWNcZG9jLXNpdGVz.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
6-es2015.8a69b62f6d61f8764ebd.js,1596566020657,a6a6438faffe9fba089bdcb28fe287ee8f90bdcbc29a82863903c7368f265c63
404.html,1596567912655,74617fc2973e3ed88217bee4f5eac6484031df288705794710c882ed06865a18
6-es5.8a69b62f6d61f8764ebd.js,1596566020645,e948c1ea4473654bbafbbcc097c8bdf07633204a4d24b44957548248c117996b
7-es2015.4daf3051a8e77d91c592.js,1596567906554,80de54ebeb6113bc422a458bc2d802956d416055645bd6fd2536e3f983bc2859
common-es2015.5a4281ba7b6b6fabed25.js,1596566020715,5aa3eabbde9e6f48ebedc86cec812e8cbb68d97fd5c21e837c628ef4aae24037
7-es5.4daf3051a8e77d91c592.js,1596567906520,87b9805601993c1219298d3ab667249e85699a8e6bc2ccfaa936723c310c5538
common-es5.5a4281ba7b6b6fabed25.js,1596566020684,226989f7634c57c6b6def9a1873ec11dd765d827f94ffe705e02b9343c6c9669
favicon.ico,1594305359573,c84b11caf102c2b876d1a09c26e8105caf41f8cc764767dd6ada9e57779b8955
3rdpartylicenses.txt,1596567905508,c12c91b46a2c65901bea9b21c10b199fc5fc549af0a77b14fff72b3fd69b0177
polyfills-es2015.7133defd57fb98ef8d2c.js,1596566020312,d4e332cc0bb7195bcfc146cf22ed168b4b81b6b44ecc8519aa028010d9769d48
runtime-es2015.3a9c121c6eb32d5f96a7.js,1596567906008,8406017490ae90f8245c16c014d0c1c82eee5a0e9106bf8ff905af82e51eeb96
runtime-es5.3a9c121c6eb32d5f96a7.js,1596567906058,443048832399065202846bf8227125984c7f67a6a77e2c0b7a0bb86a14bf1c15
scripts.402f7c92c5806ba16414.js,1596567905509,d44908ca8f827d302a5bf99c6bec57ce4feaa2005070843d337cbe290f46419f
scully-plugin-disable-angular-stats.json,1596568024919,595bd35756e52df560ed4bf6f53397f70a9b2a87c7f8366e58d1b90d92b03940
index.html,1596568071052,a610ed7f6acfd620682d25f3490ab9f7802449e35f046202f14918fea55ad1e7
assets/img/scully-symbol.svg,1596565910932,1cb369c9039f9ae99b40f56c2500e6e9e0d0768cab964c559101c189737a21f7
assets/img/scully-triad.svg,1596565910932,9243ae398ef6279b87e32d79084a7af698557e5dc34836c29b2dd8e7f044cf4e
assets/img/scullyio-logo-black.svg,1596565910932,e8268c4ae5a0d44e17ac0aafbdeca37212fdd21c690f3d6e86190fbdab67bf9c
assets/img/footer-bg.png,1596565910928,5821ff2adbd8c89329b2f9c526697199621d135d18800756bbec2eeea5e9d70c
assets/img/icons/angle-double-right-solid.svg,1596565910929,b3de323594c8a4df26e7f2bb1625252882b797a6cbfe311cdf20304219886080
assets/img/icons/angular-brands.svg,1596565910929,d627d0b8278e1addf61636799e4f964118cff1df4451a050f2c4a0c1d5a93601
assets/img/icons/arrow-left-solid.svg,1596565910929,71fbc98c6ede18065abee8d9041c120d75a6b488a16a0cf5fb057ba8e2d3881c
assets/img/icons/arrow-right-solid.svg,1596565910929,2cac144caf6f91c3fe4d5dcb11e9b2add853c6455e80dbac3822012836fda01d
assets/img/icons/blog-solid.svg,1596565910930,dfe03d4ce3999bdec70c1832410a5a9ebde07849c71c64447b097063fa59362e
assets/img/icons/book-solid.svg,1596565910930,e84e3526d530f0c333695c7b0b99d3d35a3af03ba770901ae8e21c4f5bfb7a04
assets/img/icons/check-solid.svg,1596565910930,e18cbe4e765ed24eca6c4ae9281f95f3ba58fa8ec9eb063010e4b0a98c3b35af
assets/img/icons/chevron-right-solid.svg,1596565910930,89f649749a98081212901fdd4ef19cb4fca93a6de880ae79f118f5caf6a72581
assets/img/scullyio-logo.svg,1596565910933,253dfaf6322a693494cef650c5a5c0b95131dcbb2b971f3eee13d842ec0b63af
assets/img/icons/code-branch-solid.svg,1596565910931,0a6823f85ba08c38fb6465e0fb3bff110838087dedacc0505db30b7335e1bb04
assets/img/icons/file-exclamation-regular.svg,1596565910931,3cda489bbe384f6edf6860bbe5de6885a71936eef7a02db5abb310a2aab274ba
assets/img/icons/globe-solid.svg,1596565910931,4d9cbed8126f54fababdfccf00dbf25fe5d5e7d99d050f5901134c22445ed356
assets/img/icons/github-brands.svg,1596565910931,2f12af87ba27c26cf063dd44430096ec8bb711b8661b5a30218812c743e4bf5e
assets/img/icons/puzzle-piece-solid.svg,1596565910932,680512fedfb67119abbc3566bb7ceaa5575a0816f1f97f0b6f48e8895a7a99b0
assets/img/icons/play-solid.svg,1596565910931,d420d0eafbdb5ec46385be6e313300094102740f1a484ec9e993028f7c43c7b1
assets/scully-routes.json,1596568069863,13a2f73a597a3e4816ebd5c9950b81c4ea06f44a26163342f8f2bcc8c22634b9
styles.c837721c1770080ef903.css,1596567905509,c2ac83fb0f0d92814baca4540d077eddd4ea087debf4b5c14fcf9e970ab67e46
docs/index.html,1596568074973,f2c18db6439b18c26c46baa755250db936e258a092cbed2d0a09492ffa583fc4
assets/beta-badge.png,1596460072492,ac5a6bb7d2b6991e1dbf76cfa4181ec471cf81b575b6225963a0f67150773c28
docs/community/code-of-conduct/index.html,1596568071923,e04e1e26b63925f1cb3c280719ec0dd3d2be653cbd6c60b1d57e8fbb1fe01749
assets/img/showcase/1800contacts-01.jpg,1596565910933,751ea02163e7d99d00cd10875f87b61cb6d9943d722e3074d11a5bb23578fe4c
assets/img/showcase/configcat-01.jpg,1596565910934,1d7fae1095c52726a8769993aa463226c73a537d39e4df3828100ff4eb480826
assets/img/showcase/nicolatoledo-01.jpg,1596565910935,e15e6543d0b9ebeab54fc0b45dbf5b3528f6a41fc9d8aace54b05fe90aa057f1
assets/img/showcase/scully-01.jpg,1596565910936,e055a770409566a72364da94bef480f0260b5e6d55ff631ba1513ba8ecc887b1
assets/img/showcase/solocoding-01.jpg,1596565910936,f3a90219916e5c91343b28afa01c1a57b97090533b1aa9b486e3fef6e2dc3730
assets/img/showcase/ledgedevops-01.jpg,1596565910935,430302869bf39f5ff176f6b52a997f02e91844e077ba5ad63e73477adef06b7b
docs/community/contributing/index.html,1596568071927,a6a596ad7d193203a4f2b104625108c1179715237fb87a382c7485ada8880956
docs/community/issues/index.html,1596568071928,01f26675bdda0a97b5acfd07bc84d004ef565fa40e71247ce8affeaab1606c36
docs/learn/core-features/scully-content-component/index.html,1596568071932,3c4ff6dfa252152d87d60e9ba6869f85cd6f6d0d2356f3609072d232c6834167
docs/learn/command-line-options/index.html,1596568072430,65b0cf2dfdd2e810a82d09e98dc792875de87737d49918bba501f780a9b7c5f2
docs/learn/core-features/scully-routes-service/index.html,1596568071527,46518b8de87d4b9d70f2e7495a7647af0c2eed6eccc1577cd88caf0681594808
docs/learn/core-features/transfer-state-service/index.html,1596568071933,1cc1131097877145767773a93083f6a694be84cd9cd968e36fafd1a5aaa72b09
assets/img/showcase/appsatease-01.jpg,1596565910934,dcc914b02400b7a5514ca9de7d09d94925c37dd66f64aacf7f68505958ff4018
docs/learn/config/index.html,1596568071410,8000589a56a14adbcb4bfa20899f392c9349180b1ca866f35a2773cb95d2c92a
docs/learn/core-features/utility-methods/index.html,1596568072432,bfe910f30b84ac359655947cf9db97f6dee84bdc228abf6539019553e531cd02
docs/learn/create-a-blog/add-blog-support/index.html,1596568072440,b186632754c5d94bd18fe9a8ee520f36fb4d17d0498eeb736f7c212817d032b7
docs/learn/create-a-blog/generate-new-blog-posts/index.html,1596568072444,577e61461fee2b22858cd80611a53b1b9875148cc6871be0c3fd467257235ff9
docs/learn/create-a-blog/use-blog-post-data-in-template/index.html,1596568072434,238a160eb131f6be4f1759946d6443a0afe52412d48c29a35c781ed51390087f
docs/learn/getting-started/building/index.html,1596568072442,84c16de6a664ed67080cd43ed766046f3d7db3e7905545b37f0fe00d50629146
docs/learn/getting-started/installation/index.html,1596568072448,999cc832c620e5b802a7003a11253a87c1bbf9345070c6d3683b3595fcb2d447
docs/learn/getting-started/serving/index.html,1596568072446,9139f21b48e3d2eb0160022f1685514e863c1e2c7ebf046e68f8c86ed5ddf066
docs/learn/getting-started/requirements/index.html,1596568072435,bb02807021a5d4ccb2b03debb355439e35f6cc6dc64526b00e50cbd9cba42de9
docs/learn/getting-started/tips-for-testing/index.html,1596568072499,a15c25489c076bfb52a86254282da9a9291b6c588e07c2364b8895d1cf626afa
docs/learn/introduction_es/index.html,1596568071931,cba76069bfb85d16356e98e89bb71a19e910202b8d957a8106269eb4cf2ad9db
docs/learn/legacy-support/angular-v8/index.html,1596568073294,1c7cb3243b0e3eefe584a9f093d0886c5f6f0a434db4ab8c2e2e3cb15f688b59
docs/learn/introduction/index.html,1596568072580,fca4de2896e20ce10348be0d940c7c9796bb2232d2523da0d847987d6b849b75
docs/learn/legacy-support/polyfills/index.html,1596568073365,7a57e64a00d83c1f4ec96ff14d61a61b59d141dcf8c44d06c3c931d3ed3ace04
docs/learn/plugins/built-in-plugins/adoc/index.html,1596568073413,d7f4d424bf624232add743510a53fa849a86d02441e6e0f6fb47630c4b5df4fb
docs/learn/plugins/built-in-plugins/ignored/index.html,1596568073820,c716d91af78931dc07cfdee7b13ddc3c54ae1f937fc9cd00bc7d52fe0f264b26
docs/learn/plugins/built-in-plugins/contentFolder/index.html,1596568073818,77c91fe9d18f4df891145567ec3e52d73d1e2268700a6a31a70dcec872976115
docs/learn/plugins/built-in-plugins/json/index.html,1596568073463,55489660f9b8004978948fc26db370c6355bce308f9c995a73decd4c9b6e580f
docs/learn/plugins/built-in-plugins/md/index.html,1596568073596,fa4befb3f162a18827a62a3acbd09df7858ba43bbde7502d549ceecbb3ec0628
docs/learn/plugins/built-in-plugins/router-/index.html,1596568073823,e938b38eebcca70115c859042157300ca2da167a4e1b39a2ec042c73152ee969
docs/learn/plugins/built-in-plugins/seoHrefOptimize/index.html,1596568073506,cdd031510ac8e5f37e2a4eaf72f7d29904688f70c8289aa0a38d4b9b7c33be39
docs/learn/plugins/community-plugins/disableAngular/index.html,1596568073710,1f836ad6c20b429f511c263d0fa0f1634cf393fcbea4cf9b76be50c85d2acc64
docs/learn/plugins/community-plugins/lazyImages/index.html,1596568074358,b74028559821edadf01532e8fc429305889e701a9facf65770f0189f927a30ac
docs/learn/plugins/community-plugins/fouc/index.html,1596568073560,8a965028230d041542eab3f153944323ada7bebef9b64c7d3b404143998ec5bd
docs/learn/plugins/community-plugins/http404/index.html,1596568073651,9a7fa5917b7db3c9b2777ba3053b9a82cbf466c3925d5154db258f5e3f2f1a6b
docs/community/showcase/index.html,1596568071926,d27a1c0cd0320386beabb026e35381d9a124ce9d40fd0eb7449de695d1f7d5b8
docs/community/support/index.html,1596568071929,7515e9b360d0dfa580c78d350be9c8cd28ddcb6cb5c9669e3139ac39e40e5f99
docs/learn/core-features/idle-monitor-service/index.html,1596568071924,c9fb7b75385dcccb1b5cb618840f08510cc2a8389a2bcff4e54be713777b553f
docs/learn/plugins/community-plugins/mediumZoom/index.html,1596568074352,167aca844a741b2dde7c08b6b84c3c008216a8924f79e93df57821a80ba4b5d2
docs/learn/faq/index.html,1596568072438,54bc429c37dd37dbed937339f3a7e093ca67ab01817de36465a315487b8652f1
polyfills-es5.cf81b6d994a335b9e794.js,1596566022868,b1066a9d4ab783d99ead1379bafe4ad4c3ab9fcf031b327617b8e58c4d4b575f
docs/learn/plugins/community-plugins/regex/index.html,1596568074355,a0e067681376498b1faf6961f10916487e5b0b2c258f30b8a5ba2171ca712f7e
docs/learn/plugins/community-plugins/minifyHtml/index.html,1596568073893,28eb85725c0f0c6d0e0230b8769e41c25c8bbe5f9799d708fbdedbc88840a23a
docs/learn/plugins/community-plugins/rss/index.html,1596568074350,ad2b17d3768de1d1eaf9f9447ff2eb50dc3fa1cf42e5ee4dd58e17bdb65f74ce
docs/learn/plugins/community-plugins/toc/index.html,1596568073952,750f40b6022c9fc9a88647fd71b4dcd36be0a8e657df90ffe8482789758562a1
docs/learn/plugins/overview/index.html,1596568074356,ba85c6883b0af6af81e962558c8bb951c3def7c64660078af59d199dc80fa6a0
docs/learn/plugins/community-plugins/sitemap/index.html,1596568074359,b539b920c575422d477bfa7b2bb02f096449c4653d1c2cf1374cc2bf9ab43a9a
docs/learn/plugins/register-a-new-plugin/index.html,1596568074353,8c0eed2c6a485701e80c2f9051d62f20037ee87326c3863d17dff085cd0f30af
docs/learn/plugins/types/allDone/index.html,1596568074360,7be2b210521905b2cf9fac1950434c3d109f456e474835f41183c3b26cecb81b
docs/learn/plugins/types/overview-/index.html,1596568074362,fe3e5b059831083e9b94deb7fa222a520a16377bd69a3190110049c55ad6c8dd
docs/learn/plugins/types/fileHandler/index.html,1596568074363,68b8958df745705007fadb502a395b5decf6cd36581a3a43c7fed374e2164662
docs/learn/plugins/types/render/index.html,1596568074436,b351449b85b7020551047c36c5c0852aa271fe2d09b4e6c430e2d7d0d0a98c2b
docs/learn/plugins/types/routeDiscoveryDone/index.html,1596568075042,acc64fd50bbf6f3cc25ee340ee9a65b475916991b750fb384f06d33ad801b3df
docs/learn/schematics/create-blog-config/index.html,1596568075157,6db4de1a9e756fe0464465ea303dc01f973515bc739345d8b9b31dbff2d74f17
docs/learn/schematics/create-markdown-files-and-skeleton/index.html,1596568075040,3c03d7fdc7bba7c46fcda10ab2799654ef88b1341c264f3551982f42e11476a2
docs/learn/plugins/types/router/index.html,1596568074962,2c818488dec60586e487dee7ae82bdb799dd4ff5edeaa9c1e2d6bc6f9b4209f3
docs/learn/schematics/create-scully-files-with-ng-add/index.html,1596568075155,5eb76116648583af49d0dda6eee7b275eabb7986c5b90b35f6b07e64296f7e5d
docs/learn/schematics/run-router-discovery/index.html,1596568075160,10497dcee13c3e58aa120fd7c6cd82ab1ea7e05a4d063619e066cf6800f17276
docs/learn/utilities/github-actions/scully-publish/index.html,1596568075195,525b048d699aa6d1db7e98200dc47c3bb416b66dad7a685753f6b2043bf4a355
docs/learn/utilities/overview---/index.html,1596568075286,99a4a6d022b11e82ef03bae1768d399f1edb1917055b4a34a3689edddc01739f
docs/learn/schematics/create-plugin-skeleton/index.html,1596568075159,1dffd47c633d8633e7c6644af60b649242aa864c1b7c0a45a43f3b82495a11e9
docs/learn/utilities/syntax-highlighting/prism-js/index.html,1596568075253,e3a6f8c3843e75109a4b15bc84f45dc74e9b22cc3c4e08af7dc96295d6970529
main-es2015.03f6df5606af94e3b675.js,1596567912213,914ba09b4f7a4fc989fe386108d352ffa085402f79055c121714b482b5034609
main-es5.03f6df5606af94e3b675.js,1596567911415,a08f4539705617033ffdeab500f1cca3984e1407a6e674f1f694ac71a86018ce
stats-es2015.json,1596567905514,885cc5a47efe16799289a7f5dc8f184e9f018eece09192178b85aad2bbd0cc70
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![CLA assistant](https://cla-assistant.io/readme/badge/scullyio/scully)](https://cla-assistant.io/scullyio/scully)
![CI](https://github.com/scullyio/scully/workflows/Node.js%20CI/badge.svg)

The best way to build the fastest Angular apps. Scully is a static site generator for Angular projects looking to embrace the JAMStack.
The best way to build the fastest Angular apps. Scully is a static site generator for Angular projects looking to embrace the Jamstack.

- [Getting Started](docs/getting-started.md)
- [Full Documentation](docs/scully.md)
Expand Down Expand Up @@ -41,7 +41,7 @@ The security and cost implications to that fact can be mind blowing when you thi

For those wanting to know more about this process, please read the [Getting Started](docs/getting-started.md) guide. For
those who want to know more about the theory behind pre-rendering JavaScript SPAs, our friends at [Netlify](https://netlify.com)
wrote a [free book about the JAMStack](https://www.netlify.com/pdf/oreilly-modern-web-development-on-the-jamstack.pdf).
wrote a [free book about the Jamstack](https://www.netlify.com/pdf/oreilly-modern-web-development-on-the-jamstack.pdf).
Check that out today.

#### GET A HOLD OF US 24/7
Expand Down
9 changes: 4 additions & 5 deletions apps/scully-docs/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ import { Routes, RouterModule } from '@angular/router';
const routes: Routes = [
{
path: '',
loadChildren: () =>
import('./landing/landing.module').then(m => m.LandingModule)
loadChildren: () => import('./pages/landing/landing.module').then((m) => m.LandingModule),
},
{
path: 'docs',
loadChildren: () => import('../docs/docs.module').then(m => m.DocsModule)
}
loadChildren: () => import('./pages/docs/docs.module').then((m) => m.DocsModule),
},
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
exports: [RouterModule],
})
export class AppRoutingModule {}
97 changes: 20 additions & 77 deletions apps/scully-docs/src/app/app.component.css
Original file line number Diff line number Diff line change
@@ -1,84 +1,27 @@
:host {
display: grid;
height: 100vh;
grid-template-rows: 60px 1fr 60px;
app-root {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
height: 100%;
max-height: 100vh;
}

:host > header {
display: grid;
margin: 0;
padding: 0px 20px;
grid-template-columns: 120px 1fr;
place-items: center right;
overflow: none;
app-root > .page-content {
flex: 1;
display: flex;
width: 100%;
max-height: 100%;
padding-top: 80px;
}

header h1,
footer h3 {
margin: 0;
app-root > .page-content .nav-container {
display: flex;
flex-direction: column;
}

main {
padding: 10px;
background-image: url(../assets/scully-bg-s.svg);
background-size: cover;
}

.github {
float: right;
margin-top: 10px;
margin-left: 20px;
}

footer {
padding-top: 48px;
min-height: 250px;
display: grid;
grid-template-columns: 25% 15% 15% 15% 25%;
background: var(--scully-green-wash);
}

.footer-1 {
grid-column-start: 2;
grid-column-end: 2;
text-align: center;
}

.footer-2 {
grid-column-start: 3;
grid-column-end: 3;
text-align: center;
}

.footer-3 {
grid-column-start: 4;
grid-column-end: 4;
text-align: center;
}
a {
text-decoration: none;
color: var(--scully-darkgray);
cursor: pointer;
}

.footer-1 > h3,
.footer-2 > h3,
.footer-3 > h3 {
color: var(--scully-green);
margin-bottom: 10px;
}

@media (max-width: 1024px) {
footer {
grid-template-columns: 16px 1fr 1fr 1fr 16px;
}
nav {
transform: scale(0.9);
}
}

header {
background: #000;
color: #fff;
min-height: 90px;
app-root > .page-content .router-container {
flex: 1;
max-height: 100vh;
overflow-y: auto;
}
82 changes: 0 additions & 82 deletions apps/scully-docs/src/app/app.component.html

This file was deleted.

17 changes: 1 addition & 16 deletions apps/scully-docs/src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [RouterTestingModule],
declarations: [AppComponent]
declarations: [AppComponent],
}).compileComponents();
}));

Expand All @@ -15,19 +15,4 @@ describe('AppComponent', () => {
const app = fixture.componentInstance;
expect(app).toBeTruthy();
});

it(`should have as title 'scullyDocs'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app.title).toEqual('scullyDocs');
});

it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement;
expect(compiled.querySelector('.content span').textContent).toContain(
'scullyDocs app is running!'
);
});
});
Loading

0 comments on commit f66e9a2

Please sign in to comment.