@next-k8s/tickets 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.17](https://github.com/mathiscode/next-k8s-boilerplate/compare/@next-k8s/tickets@1.0.16...@next-k8s/tickets@1.0.17) (2022-07-07)
7
+
8
+ **Note:** Version bump only for package @next-k8s/tickets
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.0.16](https://github.com/mathiscode/next-k8s-boilerplate/compare/@next-k8s/tickets@1.0.15...@next-k8s/tickets@1.0.16) (2022-07-07)
7
15
 
8
16
  **Note:** Version bump only for package @next-k8s/tickets
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-k8s/tickets",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -51,5 +51,5 @@
51
51
  "supertest": "^6.2.3",
52
52
  "ts-jest": "^28.0.4"
53
53
  },
54
- "gitHead": "20a9347e420d886b4e16ecd88afabb7b5768f2c0"
54
+ "gitHead": "462d06be86cf3ff8bd1625c310409762cb400c79"
55
55
  }
@@ -1,6 +1,10 @@
1
+
2
+ import mongoose from 'mongoose'
1
3
  import request from 'supertest'
4
+ import { getTokenCookie } from '@next-k8s/common'
5
+
2
6
  import app from '../../app'
3
- import { createTicket, getTokenCookie } from '../../test/utils'
7
+ import { createTicket } from '../../test/utils'
4
8
 
5
9
  describe('[List Tickets] Route: /api/tickets', () => {
6
10
  it('should return a list of tickets', async () => {
@@ -1,7 +1,9 @@
1
1
  import request from 'supertest'
2
2
  import mongoose from 'mongoose'
3
+ import { getTokenCookie } from '@next-k8s/common'
4
+
3
5
  import app from '../../app'
4
- import { createTicket, getTokenCookie } from '../../test/utils'
6
+ import { createTicket } from '../../test/utils'
5
7
 
6
8
  describe('[Get Ticket] Route: /api/tickets/:id', () => {
7
9
  it('should throw a BadRequestError if ticket ID is invalid', async () => {
@@ -1,8 +1,9 @@
1
1
  import request from 'supertest'
2
2
  import mongoose from 'mongoose'
3
+ import { getTokenCookie } from '@next-k8s/common'
3
4
 
4
5
  import app from '../../app'
5
- import { createTicket, getTokenCookie } from '../../test/utils'
6
+ import { createTicket } from '../../test/utils'
6
7
  import natsClient from '../../nats-client'
7
8
 
8
9
  describe('[Update Ticket] Route: /api/tickets/:id', () => {