@gtkx/testing 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -64,7 +64,6 @@ npm install -D @types/react typescript
64
64
  Create your first app:
65
65
 
66
66
  ```tsx
67
- // src/app.tsx
68
67
  import { useState } from "react";
69
68
  import * as Gtk from "@gtkx/ffi/gtk";
70
69
  import { ApplicationWindow, Box, Button, Label, quit } from "@gtkx/react";
@@ -98,7 +97,6 @@ export const appId = "org.example.MyApp";
98
97
  ```
99
98
 
100
99
  ```tsx
101
- // src/index.tsx
102
100
  import { render } from "@gtkx/react";
103
101
  import App, { appId } from "./app.js";
104
102
 
@@ -147,7 +145,6 @@ import { cleanup, render, screen, userEvent, fireEvent } from "@gtkx/testing";
147
145
  import { AccessibleRole } from "@gtkx/ffi/gtk";
148
146
  import { App } from "./app.js";
149
147
 
150
- // Clean up after each test
151
148
  afterEach(async () => {
152
149
  await cleanup();
153
150
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gtkx/testing",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Testing utilities for GTKX applications",
5
5
  "keywords": [
6
6
  "gtk",
@@ -32,9 +32,9 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@gtkx/ffi": "0.3.1",
36
- "@gtkx/native": "0.3.1",
37
- "@gtkx/react": "0.3.1"
35
+ "@gtkx/ffi": "0.3.2",
36
+ "@gtkx/native": "0.3.2",
37
+ "@gtkx/react": "0.3.2"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "tsc -b && cp ../../README.md .",