We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aea469 commit a5f7a78Copy full SHA for a5f7a78
src/public/NoIdFieldError.test.ts
@@ -0,0 +1,10 @@
1
+import test from "ava"
2
+
3
+import {NoIdFieldError} from "./NoIdFieldError.js"
4
5
+test("Has valid properties", t => {
6
+ const actual = new NoIdFieldError()
7
8
+ t.is(actual.message, "Node must have an ID field.")
9
+ t.is(actual.code, "SLATE_TO_REACT_NO_ID_FIELD_ERROR")
10
+})
0 commit comments