CI workflow

This commit is contained in:
Gregory Schier
2024-09-09 11:43:21 -07:00
parent b72e037e6a
commit 48e62eb1d9
5 changed files with 68 additions and 203 deletions

View File

@@ -1,8 +1,8 @@
import { Context, HttpRequest, Model, Workspace } from '@yaakapp/api';
import { describe, expect, test } from 'vitest';
import { HttpRequest, Model, Workspace } from '../../../src-web/lib/models';
import { pluginHookImport } from '../src';
const ctx = {};
const ctx = {} as Context;
describe('importer-curl', () => {
test('Imports basic GET', () => {
@@ -298,7 +298,7 @@ describe('importer-curl', () => {
url: 'https://yaak.app',
urlParameters: [
{ name: 'foo', value: 'bar', enabled: true },
{ name: 'baz', value: 'a%20a', enabled: true },
{ name: 'baz', value: 'a a', enabled: true },
],
}),
],