Ver a proveniência

Update tests and imports

Use correct scope.
master
ascendente
cometimento
8bbbdb6fa4
5 ficheiros alterados com 9 adições e 5 eliminações
  1. +2
    -1
      package.json
  2. +2
    -2
      src/__tests__/index.test.ts
  3. +1
    -1
      src/modules/card/__tests__/service.test.ts
  4. +1
    -1
      src/modules/card/service.ts
  5. +3
    -0
      yarn.lock

+ 2
- 1
package.json Ver ficheiro

@@ -58,7 +58,8 @@
"vitest": "^0.9.4"
},
"dependencies": {
"fastify": "^3.27.0"
"fastify": "^3.27.0",
"@modal-sh/oblique-strategies-core": "file:../core"
},
"scripts": {
"prepublishOnly": "pridepack clean && pridepack build",


+ 2
- 2
src/__tests__/index.test.ts Ver ficheiro

@@ -6,11 +6,11 @@ import {
vi,
} from 'vitest';
import { FastifyInstance } from 'fastify';
import { generate } from '@theoryofnekomata/oblique-strategies-core';
import { generate } from '@modal-sh/oblique-strategies-core';
import { createServer } from '../server';
import { addRoutes } from '../routes';

vi.mock('@theoryofnekomata/oblique-strategies-core');
vi.mock('@modal-sh/oblique-strategies-core');

describe('Example', () => {
let server: FastifyInstance;


+ 1
- 1
src/modules/card/__tests__/service.test.ts Ver ficheiro

@@ -8,7 +8,7 @@ import {
import { generate } from '@modal-sh/oblique-strategies-core';
import { CardService, CardServiceImpl } from '../service';

vi.mock('@theoryofnekomata/oblique-strategies-core');
vi.mock('@modal-sh/oblique-strategies-core');

describe('CardService', () => {
let cardService: CardService;


+ 1
- 1
src/modules/card/service.ts Ver ficheiro

@@ -1,4 +1,4 @@
import { generate as coreGenerate } from '@theoryofnekomata/oblique-strategies-core';
import { generate as coreGenerate } from '@modal-sh/oblique-strategies-core';

export interface CardService {
generate(cards?: string[]): string


+ 3
- 0
yarn.lock Ver ficheiro

@@ -327,6 +327,9 @@
resolved "https://registry.yarnpkg.com/@mdn/browser-compat-data/-/browser-compat-data-4.1.18.tgz#eb960654aec3ebb6f39a9469845659a8c1d50b3a"
integrity sha512-Ap8MOYbyvEilK1+sNY6yh6LmsHSp7f5zzSGlY4AemhbTcoultcozEXPzx42OO6WjoriOsw88aW8TiqgYdXwsxg==
"@modal-sh/oblique-strategies-core@file:../core":
version "0.0.0"
"@next/eslint-plugin-next@^12.0.7":
version "12.1.5"
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.1.5.tgz#273885b35e6bbcd40ff1436d2a8d0ec03fb6f6ef"


Carregando…
Cancelar
Guardar