Skip to content

Commit 3236fe9

Browse files
Removed the DOM-like fixture and refreshed snapshots to drop its output. Changes: deleted Plugins/BridgeJS/Sources/TS2Swift/JavaScript/test/fixtures/DOMLike.d.ts and updated Plugins/BridgeJS/Sources/TS2Swift/JavaScript/test/__snapshots__/ts2swift.test.js.snap.
Tests: `npm test -- -u` (TS2Swift JavaScript).
1 parent b56d465 commit 3236fe9

File tree

2 files changed

+0
-81
lines changed

2 files changed

+0
-81
lines changed

Plugins/BridgeJS/Sources/TS2Swift/JavaScript/test/__snapshots__/ts2swift.test.js.snap

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,26 +48,6 @@ exports[`ts2swift > snapshots Swift output for Async.d.ts > Async 1`] = `
4848
"
4949
`;
5050

51-
exports[`ts2swift > snapshots Swift output for DOMLike.d.ts > DOMLike 1`] = `
52-
"// NOTICE: This is auto-generated code by BridgeJS from JavaScriptKit,
53-
// DO NOT EDIT.
54-
//
55-
// To update this file, just rebuild your project or run
56-
// \`swift package bridge-js\`.
57-
58-
@_spi(Experimental) @_spi(BridgeJS) import JavaScriptKit
59-
60-
/// Schedules a function to be run after a delay.
61-
///
62-
/// - Parameters:
63-
/// - handler: A function to execute after the timer expires.
64-
/// - timeout: The time, in milliseconds, the timer should wait before the handler is executed.
65-
/// - args: Additional arguments to pass to the handler.
66-
/// - Returns: A numeric identifier for the timer.
67-
@JSFunction func setTimeout(_ handler: JSObject, _ timeout: JSUndefinedOr<Double>, _ args: [JSValue]) throws(JSException) -> Double
68-
"
69-
`;
70-
7151
exports[`ts2swift > snapshots Swift output for Documentation.d.ts > Documentation 1`] = `
7252
"// NOTICE: This is auto-generated code by BridgeJS from JavaScriptKit,
7353
// DO NOT EDIT.

Plugins/BridgeJS/Sources/TS2Swift/JavaScript/test/fixtures/DOMLike.d.ts

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)