From 99ffd4627097e165e23ac233763f6b8ccbd19756 Mon Sep 17 00:00:00 2001 From: Guz013 Date: Mon, 27 Nov 2023 16:02:58 -0300 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=94=A7=20add=20placeholder=20tes?= =?UTF-8?q?t=20for=20ci/cd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsconfig.json | 6 +++++- package.json | 1 + test/placeholder.test.js | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 test/placeholder.test.js diff --git a/jsconfig.json b/jsconfig.json index 349248d..e4413a1 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -13,11 +13,15 @@ "alwaysStrict": true, }, "include": [ + "./**/*.test.js", "./src/**/*.js", "./api/**/*.js", "./packages/*/src/**/*.js", "./commitlint.config.cjs", "./eslint.config.js" ], - "exclude": ["./node_modules/**", ".dist"] + "exclude": [ + "./node_modules/**", + ".dist" + ] } diff --git a/package.json b/package.json index 453cecd..8c182e0 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "private": true, "main": "index.js", "scripts": { + "test": "vitest", "prepare": "husky install", "lint": "eslint .", "lint:fix": "eslint . --fix", diff --git a/test/placeholder.test.js b/test/placeholder.test.js new file mode 100644 index 0000000..5a723d6 --- /dev/null +++ b/test/placeholder.test.js @@ -0,0 +1,6 @@ +import { expect, test } from 'vitest'; + +test('placeholder', () => { + expect(1).toBe(1); +}); +