File tree 2 files changed +20
-1
lines changed
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export abstract class ParseNodeProxyFactory implements ParseNodeFactory {
19
19
* @param _onBefore the callback to invoke before the deserialization of any model object.
20
20
* @param _onAfter the callback to invoke after the deserialization of any model object.
21
21
*/
22
- protected constructor (
22
+ constructor (
23
23
private readonly _concrete : ParseNodeFactory ,
24
24
private readonly _onBefore : ( value : Parsable ) => void ,
25
25
private readonly _onAfter : ( value : Parsable ) => void ,
Original file line number Diff line number Diff line change
1
+ /**
2
+ * -------------------------------------------------------------------------------------------
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
4
+ * See License in the project root for license information.
5
+ * -------------------------------------------------------------------------------------------
6
+ */
7
+ import { BackingStoreParseNodeFactory } from "../../../src/store" ;
8
+ import { assert , describe , it } from "vitest" ;
9
+ import { ParseNodeFactory } from "../../../src" ;
10
+
11
+ describe ( "BackingStoreParseNodeFactory" , ( ) => {
12
+ describe ( "constructor" , ( ) => {
13
+ it ( "Should create an instance of backing store factory" , async ( ) => {
14
+ const fakeParseNodeFactory : ParseNodeFactory = { } as ParseNodeFactory ;
15
+ const backingStoreParseNodeFactory : BackingStoreParseNodeFactory = new BackingStoreParseNodeFactory ( fakeParseNodeFactory ) ;
16
+ assert . isDefined ( backingStoreParseNodeFactory ) ;
17
+ } ) ;
18
+ } ) ;
19
+ } ) ;
You can’t perform that action at this time.
0 commit comments