2.0.43 • Published 6 months ago

@nikovirtala/projen-vitest v2.0.43

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

projen vitest

Vitest component for projen Node.js projects.

example usage

  • in .projenrc.ts import Vitest component and create new instance of it:
import { awscdk, javascript } from "projen";
import { Vitest } from "@nikovirtala/projen-vitest";

const project = new awscdk.AwsCdkTypeScriptApp({
    defaultReleaseBranch: "main",
    devDeps: ["@nikovirtala/projen-vitest"],
    jest: false,
    name: "vitest-example",
    projenrcTs: true,
});

new Vitest(project);

project.synth();
  • in *.test.ts import necessary modules from vitest:
import { describe, expect, test } from "vitest";
  • run tests with pj test
2.0.43

6 months ago

2.0.42

6 months ago

2.0.41

6 months ago

2.0.40

6 months ago

2.0.39

6 months ago

2.0.38

6 months ago

2.0.37

6 months ago

2.0.36

6 months ago

2.0.35

6 months ago

2.0.34

6 months ago

2.0.33

6 months ago

2.0.32

6 months ago

2.0.31

6 months ago

2.0.30

6 months ago

2.0.29

6 months ago

2.0.28

7 months ago

2.0.27

7 months ago

2.0.26

7 months ago

2.0.25

7 months ago

2.0.24

7 months ago

2.0.23

7 months ago

2.0.22

7 months ago

2.0.21

7 months ago

2.0.20

7 months ago

2.0.19

7 months ago

2.0.18

7 months ago

2.0.17

7 months ago

2.0.16

7 months ago

2.0.15

7 months ago

2.0.14

7 months ago

2.0.13

7 months ago

2.0.12

7 months ago

2.0.11

7 months ago

2.0.10

7 months ago

2.0.9

7 months ago

2.0.8

7 months ago

2.0.7

7 months ago

2.0.6

7 months ago

2.0.5

8 months ago

2.0.4

8 months ago

2.0.3

8 months ago

2.0.2

8 months ago

2.0.1

8 months ago

2.0.0

8 months ago

1.2.47

8 months ago

1.2.46

8 months ago

1.2.45

8 months ago

1.2.44

8 months ago

1.2.43

8 months ago

1.2.42

8 months ago

1.2.41

8 months ago

1.2.40

8 months ago

1.2.39

8 months ago

1.2.38

8 months ago

1.2.37

8 months ago

1.2.36

9 months ago

1.2.35

9 months ago

1.2.34

9 months ago

1.2.33

9 months ago

1.2.32

9 months ago

1.2.31

9 months ago

1.2.30

9 months ago

1.2.29

9 months ago

1.2.28

9 months ago

1.2.27

9 months ago

1.2.26

9 months ago

1.2.25

9 months ago

1.2.24

9 months ago

1.2.23

9 months ago

1.2.22

9 months ago

1.2.21

9 months ago

1.2.20

9 months ago

1.2.19

9 months ago

1.2.18

9 months ago

1.2.17

10 months ago

1.2.16

10 months ago

1.2.15

10 months ago

1.2.14

10 months ago

1.2.13

10 months ago

1.2.12

10 months ago

1.2.11

10 months ago

1.2.10

10 months ago

1.2.9

10 months ago

1.2.8

10 months ago

1.2.7

10 months ago

1.2.6

10 months ago

1.2.5

10 months ago

1.2.4

10 months ago

1.2.3

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.20

10 months ago

1.0.19

10 months ago

1.0.18

10 months ago

1.0.17

10 months ago

1.0.16

10 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago

0.0.0

11 months ago