Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

.idea
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
dist/
coverage/
node_modules/
packages/*/coverage
packages/*/dist
15 changes: 6 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.1.0](https://github.com/marpme/next-testing/compare/v0.0.8...v0.1.0) (2023-03-10)
# [0.1.0](https://github.com/marpme/next-testing-api/compare/v0.0.8...v0.1.0) (2023-03-10)

### Features

- Add setQuery to NextApiRequestBuilder ([86ef86d](https://github.com/marpme/next-testing/commit/86ef86ddc82ced191a5a37dfbaf06a0829ea2a18))
- Add setQuery to NextApiRequestBuilder ([86ef86d](https://github.com/marpme/next-testing-api/commit/86ef86ddc82ced191a5a37dfbaf06a0829ea2a18))

## [0.0.8](https://github.com/marpme/next-testing/compare/v0.0.7...v0.0.8) (2023-02-26)
## [0.0.8](https://github.com/marpme/next-testing-api/compare/v0.0.7...v0.0.8) (2023-02-26)

**Note:** Version bump only for package root
**Note:** Version bump only for package @next-testing/api

## [0.0.7](https://github.com/marpme/next-testing/compare/v0.0.6...v0.0.7) (2022-12-13)
## [0.0.7](https://github.com/marpme/next-testing-api/compare/v0.0.6...v0.0.7) (2022-12-13)

### Bug Fixes

- format checker ([b6d995c](https://github.com/marpme/next-testing/commit/b6d995c8c8199651b3ada1fed19d432c8392163a))
- prettier and eslint checks on CI ([355e99b](https://github.com/marpme/next-testing/commit/355e99bc4eaa6a229ca9a87bc456566eec9f8270))
- remove extranous allowBranch from lerna ([b8cff14](https://github.com/marpme/next-testing/commit/b8cff148a03e18d01c35185553882abd09648aaf))
- sonar report for monorepo module ([cb9adcc](https://github.com/marpme/next-testing/commit/cb9adcca84de760e8d7fec5b014f9a5b9eb8162c))
- prettier and eslint checks on CI ([355e99b](https://github.com/marpme/next-testing-api/commit/355e99bc4eaa6a229ca9a87bc456566eec9f8270))
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# ✨ NextJS Testing Framework ✨
<div align="center">
<img alt="logo" width="300" src="./logo.svg">

<em>Simplifying the struggle of mocking and reimplementing NextAPIRequests and NextAPIResponses
in order to test and validate NextJS serverless functions.</em>


![npm (tag)](https://img.shields.io/npm/v/@next-testing/api/latest)
![NPM](https://img.shields.io/npm/l/@next-testing/api)
Expand All @@ -8,9 +13,7 @@
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=marpme_next-testing&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=marpme_next-testing)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=marpme_next-testing&metric=coverage)](https://sonarcloud.io/summary/new_code?id=marpme_next-testing)


Simplifying the struggle of mocking and reimplementing NextAPIRequests and NextAPIResponses
in order to test and validate NextJS serverless functions.
</div>

# Installation

Expand Down
6 changes: 3 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Supported Versions

| Version | Supported |
| ------- | ------------------ |
| >= 0.0.3 | :white_check_mark: |
| Version | Supported |
|----------| ------------------ |
| `>= 0.1.0` | :white_check_mark: |

## Reporting a Vulnerability

Expand Down
3 changes: 3 additions & 0 deletions logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading