mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 13:20:19 +03:00
fix: test
This commit is contained in:
parent
38844f683e
commit
02759d98ad
|
@ -24,7 +24,7 @@ describe('build', () => {
|
||||||
expect(err.toString()).toContain('{"options":{"disableSearch":"true"}');
|
expect(err.toString()).toContain('{"options":{"disableSearch":"true"}');
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(result).toContain('Found .redocly.yaml and use options from features.openapi');
|
expect(result).toContain('Found .redocly.yaml and using features.openapi options');
|
||||||
expect(result).toContain('bundled successfully');
|
expect(result).toContain('bundled successfully');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -20,7 +20,7 @@ describe('build with inline options', () => {
|
||||||
const out = r.stdout.toString('utf-8');
|
const out = r.stdout.toString('utf-8');
|
||||||
const err = r.stderr.toString('utf-8');
|
const err = r.stderr.toString('utf-8');
|
||||||
const result = `${out}\n${err}`;
|
const result = `${out}\n${err}`;
|
||||||
expect(result).not.toContain('Found .redocly.yaml and use options from features.openapi');
|
expect(result).not.toContain('Found .redocly.yaml and using features.openapi options');
|
||||||
expect(result).toContain('bundled successfully');
|
expect(result).toContain('bundled successfully');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user