Skip to content

Commit

Permalink
feature: Updating testing library part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Dec 8, 2023
1 parent b279875 commit 3d985d7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 43 deletions.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type RT_CONFIG_SCHEME = {
/** Change the way of declare if statements. (default: natural) */
conditionWay?: 'singleLine' | 'natural' | 'explicit';
/** readable types testing configurations */
readable_types_testing?: {
testing?: {
/** Regex of included filenames. */
include?: readonly string[];
/** Regex of excluded filenames. */
Expand Down
33 changes: 0 additions & 33 deletions lib/readable-tests-for-types/index.js

This file was deleted.

11 changes: 5 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.1.2",
"description": "Utils for typescript language",
"types": "./lib/index.d.ts",
"main": "./lib",
"main": "./rtt-plugin/dist/LaguageServicePlugin.js",
"scripts": {
"typeChecking": "tsc",
"test": "rtft",
Expand Down
2 changes: 1 addition & 1 deletion rt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { RT_CONFIG_SCHEME } from './lib';
export default {
development: true,
conditionWay: 'natural',
readable_types_testing: {
testing: {
include: ['.*(\.(spec|test)(-types)?\.ts)$'],
exclude: ['.*node_modules.*'],
},
Expand Down
2 changes: 1 addition & 1 deletion rtt-plugin

0 comments on commit 3d985d7

Please sign in to comment.