2.1.17 • Published 12 months ago

@svelte-add/testing-library v2.1.17

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

@svelte-add/testing-library

This package provides core tools for testing your adder for different environments and options. Currently we execute tests against 5 project templates:

  • svelte-js
  • svelte-ts
  • kit-js
  • kit-js-comments
  • kit-ts

Additionally we will test your adder for each option combination that you specify.

Here is a sample usage example:

// test.js

import { remoteControl } from '@svelte-add/core/internal';
import { testAdder } from '@svelte-add/testing-library';

remoteControl.enable();
/** @type {import('@svelte-add/core/adder/config').AdderWithoutExplicitArgs} */
const adder = /** @type {any} */ (await import('./index.js')).default;
remoteControl.disable();

testAdder(adder, {
	outputDirectory: './.outputs',
	headless: true,
	pauseExecutionAfterBrowser: false,
});
2.1.2

1 year ago

2.0.15

1 year ago

2.1.1

1 year ago

2.0.16

1 year ago

2.1.4

1 year ago

2.0.13

1 year ago

2.1.3

1 year ago

2.0.14

1 year ago

2.1.6

1 year ago

2.0.11

1 year ago

2.0.7

1 year ago

2.1.5

1 year ago

2.0.12

1 year ago

2.1.8

1 year ago

2.0.9

1 year ago

2.1.7

1 year ago

2.0.10

1 year ago

2.0.8

1 year ago

2.1.0

1 year ago

2.1.9

1 year ago

2.0.17

1 year ago

2.1.16

12 months ago

2.1.17

12 months ago

2.1.14

12 months ago

2.1.15

12 months ago

2.1.12

12 months ago

2.1.13

12 months ago

2.1.10

1 year ago

2.1.11

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago