Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ionic-mocks

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionic-mocks - npm Package Compare versions

Comparing version 0.6.0 to 0.6.2

4

package.json
{
"name": "ionic-mocks",
"version": "0.6.0",
"version": "0.6.2",
"description": "Stubbed and Pre-mocked Ionic2 Objects",

@@ -35,2 +35,2 @@ "repository": "git@github.com:stonelasley/ionic-mocks.git",

}
}
}

@@ -108,1 +108,12 @@ # ionic-mocks

```
#### Provide Mocks in TestingModule
```typescript
TestBed.configureTestingModule({
imports: [IonicModule, AnotherModule],
declarations: [MyComponent],
providers: [
{provide: ViewController, useFactory: () => ViewControllerMock.instance()}
]
});
```

@@ -24,3 +24,7 @@ import { Observable } from 'rxjs';

'setBackButtonText',
'showBackButton'
'showBackButton',
'_setHeader',
'_setNavbar',
'_setIONContent',
'_setIONContentRef'
]);

@@ -47,2 +51,2 @@

}
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc