Skip to content
This repository was archived by the owner on Jul 14, 2020. It is now read-only.

bigtestjs/mirage

Repository files navigation

⚠️ DEPRECATED ⚠️

In order to make BigTest development faster and friction free, we've consolidated all of our individual projects into a single repository on the Frontside Organization. We'd love to see you there!

note: the last release from this repository was 0.0.1

Mirage Server

A client-side server to develop, test and prototype your app.

Note: This repository has been archived in favor of https://github.com/miragejs/server Documentation and tutorials at https://miragejs.com/docs

This project is a plain vanilla javascript extraction of the ember-cli-mirage project. It can be used inside of any framework, including React. The goal is for it to be eventually used upstream by Ember mirage proper.

Usage

import Mirage, { Factory } from '@bigtest/mirage';

let server = new Mirage({
  environment: 'test',
  factories: {
    address: Factory
  }
});

// do some stuff with the server.

// stop intercepting requests
server.shutdown()

Development

Test suite is running in QUnit and Karma.

$ yarn
$ yarn start // karma server
$ yarn test // single run

Releases

No releases published

Packages

No packages published

Contributors 125

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy