# react-native-test-library-damiansf

> Basic toast test library for react native (Android only). Published on NPM https://www.npmjs.com/package/react-native-test-library-damiansf

Latest version **1.0.4** (published 2019-08-15) · 0 weekly downloads

## Install

```sh
npm install react-native-test-library-damiansf
pnpm add react-native-test-library-damiansf
yarn add react-native-test-library-damiansf
bun add react-native-test-library-damiansf
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-08-15 |
| First published | 2019-08-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dsandhuf |
| Keywords | react-native |

## Links

- npm: https://www.npmjs.com/package/react-native-test-library-damiansf
- npm.io page: https://npm.io/package/react-native-test-library-damiansf

## Recent versions

- 1.0.4 (latest) — 2019-08-15
- 1.0.3 — 2019-08-15
- 1.0.2 — 2019-08-14
- 1.0.1 — 2019-08-14
- 1.0.0 — 2019-08-14

## README

# react-native-test-library

Basic toast test library for react native (Android only). Published on NPM https://www.npmjs.com/package/react-native-test-library-damiansf

## Getting started

`$ npm install react-native-test-library --save`

### Mostly automatic installation

`$ react-native link react-native-test-library`

### Manual installation


#### Android

1. Open up `android/app/src/main/java/[...]/MainActivity.java`
  - Add `import com.reactlibrarynativetoast.RNTestLibraryPackage;` to the imports at the top of the file
  - Add `new RNTestLibraryPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
  	```
  	include ':react-native-test-library'
  	project(':react-native-test-library').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-test-library/android')
  	```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
  	```
      compile project(':react-native-test-library')
  	```


## Usage
```javascript
import RNTestLibrary from 'react-native-test-library';

// TODO: What to do with the module?
RNTestLibrary;
```

---
_Source: https://npm.io/package/react-native-test-library-damiansf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
