Skip to content

Commit

Permalink
docs(codesandbox.io): correct urls
Browse files Browse the repository at this point in the history
  • Loading branch information
satanTime committed Nov 19, 2023
1 parent bfab530 commit 0bb1ee9
Show file tree
Hide file tree
Showing 43 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ assignees: satanTime
A zip file or github repo with the failure is the best,
but if it's a simple failure which requires just a spec file,
then please use one of the preconfigured templates:
- codesandbox: https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox?file=/src/test.spec.ts
- codesandbox: https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/master/?file=/src/test.spec.ts
- stackblitz: https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox?file=src/test.spec.ts
-->

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The current version of the library **has been tested** and **can be used** with:
- [GitHub repo](https://github.com/help-me-mom/ng-mocks)
- [NPM package](https://www.npmjs.com/package/ng-mocks)

* Live [example on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox?file=/src/test.spec.ts)
* Live [example on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/master/?file=/src/test.spec.ts)
* Live [example on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox?file=src/test.spec.ts)

- [chat on gitter](https://gitter.im/ng-mocks/community)
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/api/MockBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ and has a rich toolkit that supports:
A code sample demonstrating ease of creating mocks in Angular tests with help of `MockBuilder`.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockBuilder/test.simple.spec.ts&initialpath=%3Fspec%3DMockBuilder%3Asimple)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockBuilder/test.simple.spec.ts&initialpath=%3Fspec%3DMockBuilder%3Asimple)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockBuilder/test.simple.spec.ts&initialpath=%3Fspec%3DMockBuilder%3Asimple)

```ts
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/api/MockComponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ and allows to mock their imports only for shallow rendering.
An advanced example about **mocking components**.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockComponent/test.spec.ts&initialpath=%3Fspec%3DMockComponent)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockComponent/test.spec.ts&initialpath=%3Fspec%3DMockComponent)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockComponent/test.spec.ts&initialpath=%3Fspec%3DMockComponent)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockComponent/test.spec.ts"
Expand Down
4 changes: 2 additions & 2 deletions docs/articles/api/MockDirective.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Also, it allows to mock their imports only for shallow testing.
An advanced example about **mocking attribute directives**.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockDirective-Attribute/test.spec.ts&initialpath=%3Fspec%3DMockDirective%3AAttribute)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockDirective-Attribute/test.spec.ts&initialpath=%3Fspec%3DMockDirective%3AAttribute)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockDirective-Attribute/test.spec.ts&initialpath=%3Fspec%3DMockDirective%3AAttribute)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockDirective-Attribute/test.spec.ts"
Expand Down Expand Up @@ -202,7 +202,7 @@ It is important to render a structural directive with the right context first,
if we want to assert on its nested elements.
:::

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockDirective-Structural/test.spec.ts&initialpath=%3Fspec%3DMockDirective%3AStructural)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockDirective-Structural/test.spec.ts&initialpath=%3Fspec%3DMockDirective%3AStructural)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockDirective-Structural/test.spec.ts&initialpath=%3Fspec%3DMockDirective%3AStructural)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockDirective-Structural/test.spec.ts"
Expand Down
4 changes: 2 additions & 2 deletions docs/articles/api/MockInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ of the instance is not `undefined`, but an `Observable`.
An advanced example of **customizing a mock component before its initialization** in Angular tests.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockInstance/test.spec.ts&initialpath=%3Fspec%3DMockInstance)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockInstance/test.spec.ts&initialpath=%3Fspec%3DMockInstance)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockInstance/test.spec.ts&initialpath=%3Fspec%3DMockInstance)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockInstance/test.spec.ts"
Expand Down Expand Up @@ -309,7 +309,7 @@ describe('MockInstance', () => {
An advanced example of **customizing a mock component before its initialization** in Angular tests.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockInstance/component.spec.ts&initialpath=%3Fspec%3DMockInstance%3Acomponent)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockInstance/component.spec.ts&initialpath=%3Fspec%3DMockInstance%3Acomponent)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockInstance/component.spec.ts&initialpath=%3Fspec%3DMockInstance%3Acomponent)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockInstance/component.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/api/MockModule.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ beforeEach(() => MockBuilder(TargetComponent, TargetModule));
An advanced example about **usage of mock modules** in Angular tests.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockModule/test.spec.ts&initialpath=%3Fspec%3DMockModule)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockModule/test.spec.ts&initialpath=%3Fspec%3DMockModule)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockModule/test.spec.ts&initialpath=%3Fspec%3DMockModule)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockModule/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/api/MockPipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ TestBed.configureTestingModule({
An advanced example of **mocking pipes** in Angular tests.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockPipe/test.spec.ts&initialpath=%3Fspec%3DMockPipe)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockPipe/test.spec.ts&initialpath=%3Fspec%3DMockPipe)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockPipe/test.spec.ts&initialpath=%3Fspec%3DMockPipe)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockPipe/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/api/MockProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ If we are encountering it too, please read a section called [How to fix TypeErro
An Advanced example of **mocking providers** in Angular tests.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockProvider/test.spec.ts&initialpath=%3Fspec%3DMockProvider)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockProvider/test.spec.ts&initialpath=%3Fspec%3DMockProvider)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockProvider/test.spec.ts&initialpath=%3Fspec%3DMockProvider)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockProvider/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/api/MockRender.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ if we have changed values of parameters.
There is **an advanced example how to render a custom template in an Angular test** below.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockRender/test.spec.ts&initialpath=%3Fspec%3DMockRender)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockRender/test.spec.ts&initialpath=%3Fspec%3DMockRender)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockRender/test.spec.ts&initialpath=%3Fspec%3DMockRender)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockRender/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/api/ngMocks/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ngMocks.render(declarationInst, structuralDir, context, variables);

The **first** and the **second** parameter **cannot be empty**.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/TestTemplateRefByRender/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefByRender)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/TestTemplateRefByRender/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefByRender)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/TestTemplateRefByRender/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefByRender)

## Render TemplateRef / ng-template
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/extra/extensive-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ please pay attention to comments in the code, they explain purposes and intentio

Also, you can play with the test in sandboxes:

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/main/test.spec.ts&initialpath=%3Fspec%3Dmain)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/main/test.spec.ts&initialpath=%3Fspec%3Dmain)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/main/test.spec.ts&initialpath=%3Fspec%3Dmain)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/main/test.spec.ts"
Expand Down
4 changes: 2 additions & 2 deletions docs/articles/extra/mock-form-controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class MyControl implements ControlValueAccessor {
An advanced example of **a mock FormControl with ReactiveForms** in Angular tests.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockReactiveForms/test.spec.ts&initialpath=%3Fspec%3DMockReactiveForms)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockReactiveForms/test.spec.ts&initialpath=%3Fspec%3DMockReactiveForms)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockReactiveForms/test.spec.ts&initialpath=%3Fspec%3DMockReactiveForms)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockReactiveForms/test.spec.ts"
Expand Down Expand Up @@ -133,7 +133,7 @@ describe('MockReactiveForms', () => {

A usage example of mock FormControl with ngModel in Angular tests

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockForms/test.spec.ts&initialpath=%3Fspec%3DMockForms)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockForms/test.spec.ts&initialpath=%3Fspec%3DMockForms)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockForms/test.spec.ts&initialpath=%3Fspec%3DMockForms)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockForms/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/extra/mock-observables.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ but it goes beyond the topic.
An advanced example of **mocking observables** in Angular tests.
Please, pay attention to comments in the code.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockObservable/test.spec.ts&initialpath=%3Fspec%3DMockObservable)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockObservable/test.spec.ts&initialpath=%3Fspec%3DMockObservable)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockObservable/test.spec.ts&initialpath=%3Fspec%3DMockObservable)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockObservable/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/extra/sanitizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ngMocks.defaultMock(DomSanitizer, sanitizer => {

A full example of **mocking DomSanitizer** in Angular tests.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/MockSanitizer/test.spec.ts&initialpath=%3Fspec%3DMockSanitizer)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/MockSanitizer/test.spec.ts&initialpath=%3Fspec%3DMockSanitizer)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/MockSanitizer/test.spec.ts&initialpath=%3Fspec%3DMockSanitizer)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/MockSanitizer/test.spec.ts"
Expand Down
4 changes: 2 additions & 2 deletions docs/articles/extra/templateref.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ expect(footer.nativeElement.innerHTML)

That is it. Now we have a test which verifies templates for `xd-card`.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/TestTemplateRefById/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefById)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/TestTemplateRefById/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefById)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/TestTemplateRefById/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefById)

### Templates by directive
Expand Down Expand Up @@ -151,7 +151,7 @@ expect(container.nativeElement.innerHTML)

Done. Now we have a test which verifies that `xd-card` gets the desired templates.

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/TestTemplateRefByDirective/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefByDirective)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/TestTemplateRefByDirective/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefByDirective)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/TestTemplateRefByDirective/test.spec.ts&initialpath=%3Fspec%3DTestTemplateRefByDirective)

### TemplateRef in properties
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/guides/component-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const service = fixture.point.injector.get(TargetService);

## Live example

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/TestProviderInComponent/test.spec.ts&initialpath=%3Fspec%3DTestProviderInComponent)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/TestProviderInComponent/test.spec.ts&initialpath=%3Fspec%3DTestProviderInComponent)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/TestProviderInComponent/test.spec.ts&initialpath=%3Fspec%3DTestProviderInComponent)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/TestProviderInComponent/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/guides/component-standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ beforeEach(() => {

## Live example

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/TestStandaloneComponent/test.spec.ts&initialpath=%3Fspec%3DTestStandaloneComponent)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/TestStandaloneComponent/test.spec.ts&initialpath=%3Fspec%3DTestStandaloneComponent)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/TestStandaloneComponent/test.spec.ts&initialpath=%3Fspec%3DTestStandaloneComponent)

```ts title="https://github.com/help-me-mom/ng-mocks/tree/master/examples/TestStandaloneComponent/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/guides/component.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Below you can find an example how to test almost everything what a component mig

## Live example

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/main/test.spec.ts&initialpath=%3Fspec%3Dmain)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/main/test.spec.ts&initialpath=%3Fspec%3Dmain)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/main/test.spec.ts&initialpath=%3Fspec%3Dmain)

```ts title="https://github.com/help-me-mom/ng-mocks/tree/master/examples/main/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/guides/directive-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const instance = ngMocks.get(fixture.point, TargetDirective);

## Live example

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/TestAttributeDirective/test.spec.ts&initialpath=%3Fspec%3DTestAttributeDirective)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/TestAttributeDirective/test.spec.ts&initialpath=%3Fspec%3DTestAttributeDirective)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/TestAttributeDirective/test.spec.ts&initialpath=%3Fspec%3DTestAttributeDirective)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/TestAttributeDirective/test.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/guides/directive-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const service = fixture.point.injector.get(TargetService);

## Live example

- [Try it on CodeSandbox](https://codesandbox.io/s/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=/src/examples/TestProviderInDirective/test.spec.ts&initialpath=%3Fspec%3DTestProviderInDirective)
- [Try it on CodeSandbox](https://codesandbox.io/p/sandbox/github/help-me-mom/ng-mocks-sandbox/tree/tests/?file=/src/examples/TestProviderInDirective/test.spec.ts&initialpath=%3Fspec%3DTestProviderInDirective)
- [Try it on StackBlitz](https://stackblitz.com/github/help-me-mom/ng-mocks-sandbox/tree/tests?file=src/examples/TestProviderInDirective/test.spec.ts&initialpath=%3Fspec%3DTestProviderInDirective)

```ts title="https://github.com/help-me-mom/ng-mocks/blob/master/examples/TestProviderInDirective/test.spec.ts"
Expand Down

0 comments on commit 0bb1ee9

Please sign in to comment.