Skip to content

Commit afcb04b

Browse files
committed
Update tests
1 parent a30c08a commit afcb04b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const check = (expected, got) => {
2323

2424
// Test
2525

26-
const parser = new Parser(schemas);
26+
let parser = new Parser(schemas);
2727
parser.use('handshake');
2828

2929
const parserCore = () => {
@@ -92,7 +92,7 @@ const parserCore = () => {
9292
};
9393

9494
const extendedWithVersions = () => {
95-
parser.extend('versions');
95+
parser = parser.versions();
9696

9797
const withSchemaUpdate = () => {
9898
const newSchema = {

0 commit comments

Comments
 (0)