Skip to content

Commit d4776c9

Browse files
bhackett1024jasonLaster
authored andcommitted
Use flow in all remaining tests (firefox-devtools#7828)
1 parent b0ceadd commit d4776c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+688
-358
lines changed

flow-typed/npm-custom/prettier.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
4+
5+
declare module "prettier" {
6+
declare module.exports: any;
7+
}

src/actions/breakpoints/tests/__snapshots__/syncing.spec.js.snap

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ exports[`loading the debugger loads the initial breakpoint state 1`] = `
44
Object {
55
"breakpoint": Object {
66
"astLocation": Object {
7+
"index": 0,
78
"name": undefined,
89
"offset": Object {
910
"line": 3,
@@ -45,6 +46,7 @@ exports[`loading the debugger loads the initial breakpoint state with a changed
4546
Object {
4647
"breakpoint": Object {
4748
"astLocation": Object {
49+
"index": 0,
4850
"name": undefined,
4951
"offset": Object {
5052
"line": 3,
@@ -86,6 +88,7 @@ exports[`reloading debuggee syncs with changed source and an existing disabled B
8688
Object {
8789
"http://localhost:8000/examples/magic.js:3:": Object {
8890
"astLocation": Object {
91+
"index": 0,
8992
"name": undefined,
9093
"offset": Object {
9194
"line": 3,
@@ -115,6 +118,7 @@ exports[`reloading debuggee syncs with unchanged source with an existing BP 1`]
115118
Object {
116119
"breakpoint": Object {
117120
"astLocation": Object {
121+
"index": 0,
118122
"name": undefined,
119123
"offset": Object {
120124
"line": 3,
@@ -156,6 +160,7 @@ exports[`reloading debuggee updates a corresponding breakpoint for a changed sou
156160
Object {
157161
"breakpoint": Object {
158162
"astLocation": Object {
163+
"index": 0,
159164
"name": undefined,
160165
"offset": Object {
161166
"line": 3,

0 commit comments

Comments
 (0)