https://github.com/slackapi/deno-testing-functions
https://github.com/slackapi/deno-testing-functions
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/slackapi/deno-testing-functions
- Owner: slackapi
- License: mit
- Created: 2021-11-16T09:03:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T22:04:09.000Z (about 4 years ago)
- Last Synced: 2025-02-09T15:41:49.793Z (12 months ago)
- Language: TypeScript
- Size: 33.2 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# Testing Functions Sample
Please follow the tutorial for this repo at https://api.slack.com/tutorials/tracks/testing-functions.
This sample project shows how to write tests for your function.
## Setup
Create a new project using this as repo as a template.
```bash
slack create -t slackapi/deno-testing-functions
```
## Running it locally
```bash
slack run
```
## Deploying to Slack's Hosting
```bash
slack deploy
```
## Testing
```bash
slack deno test
```