From 65ee3cb5c9562614e414ccae4f228fc92d035e4b Mon Sep 17 00:00:00 2001 From: Robin Reyer <45331704+lumaghg@users.noreply.github.com> Date: Fri, 18 Mar 2022 11:28:23 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index fae9e0f..698b1bb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # 🦕 opine-unittest-utils +[![tag](https://img.shields.io/github/tag/STAT1C-Sy/opine-unittest-utils.svg)](https://github.com/STAT1C-Sy/opine-unittest-utils/releases) +[![CI](https://github.com/STAT1C-Sy/opine-unittest-utils/actions/workflows/deno.yml/badge.svg)](https://github.com/lumaghg/opine-unittest-utils/actions/workflows/deno.yml) + + [Deno](https://deno.land) module provides simple mock objects for requests and responses to facilitate unit testing for [Opine](https://deno.land/x/opine). Compared to the Deno module [SuperDeno](https://deno.land/x/superdeno), here the handler can be tested independently from the Opine App instance by calling them directly with mocked request and response objects. From d37fda3ce40b9e5a9137fde4719d8f6a83b62e64 Mon Sep 17 00:00:00 2001 From: Robin Reyer <45331704+lumaghg@users.noreply.github.com> Date: Fri, 18 Mar 2022 11:28:46 +0100 Subject: [PATCH 2/2] Update deno.yml --- .github/workflows/deno.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index 129731b..3058da2 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -1,3 +1,4 @@ +name: CI on: [push, pull_request] jobs: @@ -26,4 +27,4 @@ jobs: run: deno --version - name: Run tests - run: deno test \ No newline at end of file + run: deno test